dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Form parameters affects CSS/Javascript menus

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    2

    Form parameters affects CSS/Javascript menus

    I have this problem with my css/javascript menus caused by a form from a previous page.

    I have the code below on a page that directs back to my home page.......

    <div style="position: absolute; width: auto; height: auto; left: 488px; top: 347px; z-index: 1;" id="button">
    <form name="backbutton" action="../../myhomepage/index.html">
    <input type="submit" name="xx" value="Back to Homepage" />
    </form></div>

    The form then creates the URL below to my home page and this in turn keeps my menus from working. The homepage needs to be refreshed, sometimes numerous times before the menus start working.

    http://www.myhomepage.com/myhomepage...Email+Homepage

    Is this normal and how do I get rid of the extra parameters in the URL? I know I can create a link without using the form but thought there might be a another way to fix the form since I have so many of these on my site. Also, this problem only seems to happen with IE. Firefox, Chrome and Safari don't seem to be affected. Thanks.

  2. #2
    Join Date
    Sep 2009
    Posts
    93
    try by adding " method='get' " attribute to from element and try change the id value equal to "button" to division element.

  3. #3
    Join Date
    Oct 2010
    Posts
    2
    Thanks for your reply. I have it working now.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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