www.webdeveloper.com
Results 1 to 2 of 2

Thread: Javascript show/hide problem

  1. #1
    Join Date
    Sep 2009
    Posts
    1

    Javascript show/hide problem

    Hey all

    I have a simple Javascript link which opens and closes a div called resetreset, like this:

    Code:
    <a href="javascript:toggleLayer('resetreset');">
    That code works perfectly, but it only opens and closes, it doesnt reposition the screen, so if the div resetreset is at the bottom of the page, the open div is not in "focus" as it were.

    Is there anyway to fix this? I have tried adding an anchor text link to it, but cant seem to make it work.

    If anyone could help I would be very pleased! Thanks!

  2. #2
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,357
    You will need to provide more code than that for any possible guess as to the cause of your problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles