Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Member moscowabunga's Avatar
    Join Date
    Apr 2011
    Posts
    30
    Member #
    27356
    Hi there! I would REALLY appreciate any help!

    I've got a script that toggles the visibility of a div on "dashboard.html":

    Code:
    $(document).ready(function(){
    
            $("#add_networks_wrapper, .remove_box").hide();
    $(".toggle_add_networks").show();
    
    $('.toggle_add_networks').click(function(){
    $("#add_networks_wrapper, .remove_box").slideToggle();
    });
    
    });
    On "dashboard.html" it works great. The div "add_networks_wrapper" is hidden until I click the link that toggles it.

    What I need is a link from a different html page (say "account.html" or whatever) to open "dashboard.html" with the hidden div's visible.

    Any help would be very appreciated!

  2.  

  3. #2
    Member moscowabunga's Avatar
    Join Date
    Apr 2011
    Posts
    30
    Member #
    27356
    An idea --

    What if I had a link like "dashboard.html/user?trigger=true"

    Can I use jQuery to look for the "trigger" element, and if the trigger is true in the address bar activate the script?


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:29 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com