Results 1 to 3 of 3

Thread: How to implement two drop down boxes on the same site?

  1. #1
    Join Date
    Jun 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to implement two drop down boxes on the same site?

    -------------------------------------
    Script: Dynamic Drop in Box
    Link: http://www.dynamicdrive.com/dynamici.../dropinbox.htm

    --------------------------------------

    Hello,

    The drop down box im talking about is http://www.dynamicdrive.com/dynamici.../dropinbox.htm The Amazon style dropdown box.

    firstly thanks for the great code, I really like the drop down box. However not being a great coder myself I am currently having a porblem that I cant resolve and wonder if anyone may help?


    I am trying to implement two drop down boxes on my site one for the main site and one for the forum (two seperate pages). The problem I have seems to be cookie related.

    I dont want the drop down box appearing everytime someone visits the page so once per session seemed like a good idea, however the cookie on the main page seems to be stopping the dropdown on the forum page.

    So when you go to the mainsite the drop down box works, but then if you click the link to the forum the drop down box doesnt work, but if you go to the forum first it will work.

    Please could someone explain how to get around the issue? Is there a way I can get the script on the homepage to use a different cookie to the one on the forum page? the forum is a directory not a subdomain so mainpage at www."mysite".co.uk forum is at www."mysite"/forum.co.uk

    Many thanks
    Last edited by norian; 06-15-2006 at 10:29 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

  3. #3
    Join Date
    Jun 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is there anyway you can set a cookie path for this script, ive done some looking around today... and cookies seem a real black art???

Bookmarks

Posting Permissions

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