Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trying to have jQuery lightbox control parent page background

    Hey guys. So I'm trying to make a theme selector for my website. You push a little button that says "theme," and a lightbox comes up with color selection options. You chose your color choice, and it makes the background of the site that page.

    Here is my code: http://quickid.net/theme/theme.php

    My problem is: instead of my code changing the background color to the theme.html parent page, it changes the background color to the lightbox. Is there a way I can make the javascript in the lightbox control the main parent page? If not, how else could I go about implementing a script like this?

    Thanks!
    Last edited by icydash; 03-07-2012 at 03:16 AM.

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    uhh page is down : "This domain name is for sale. Please contact the owner for inquiries."

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry about that. I just updated it from theme.html to theme.php. The new link is:

    http://quickid.net/theme/theme.php

  • #4
    New Coder
    Join Date
    Oct 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Never mind, figured it out!

    'onClosed': function() {
    parent.location.reload(true);
    }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •