Results 1 to 3 of 3

Thread: ddSmoothMenu problem styling unlinked top level menu items

  1. #1
    Join Date
    Jul 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ddSmoothMenu problem styling unlinked top level menu items

    1) Script Title: ddsmoothmenu.css

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    3) Describe problem: I have a fully functional ddSmoothMenu iplemented at www.bichon.org
    However, I noticed when you navigate and hover over any item of the menu that is coded with and href="#", the URL changes to the last URL you were on. So, I attempted to remove the links on some of the items (they were only there for navigation and had no need for a link), but when I do that, the layout of those items in the menu gets jacked up. For example, the menu item defaults to black text and is not aligned like the linked items were. I attempted to correct this by trying to set padding options within the /*Top level list items*/ section, but the padding ended up propagating throughout all levels of the menu. I was able to change the color back to white. It's just the positioning of the "unlinked" menu items that I am struggling with. I need to have unlinked items or else when people select on the the items with a hash tag for the href, they are going to get a "page not found" message. I need to have a way to position menu items that are non-linked items.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,136
    Thanks
    44
    Thanked 3,231 Times in 3,192 Posts
    Blog Entries
    12

    Default

    What URL changes where? In what browser and version?

    When I hover over an href="#" link I see in the status that link, but nothing else changes. If I clcik on it, a # symbol gets added to the address in the address bar, but nothing else changes except that if I hit the back button in some browsers all it will do is go back to the address without the # symbol, but other browsers will still go back to the previous page. If that's all it is, it could be changed, (in fact I have an update where I believe, although you still see the # in the status, clicking it no longer updates the address), but that's fairly normal behavior and shouldn't really be an issue.

    If there is some other problem, please be more specific as to which browser and which version of that browser I have to use, and what exactly do I have to do to see the problem.

    Again, if the user clicks on an href="#" link, there should be no 404 not found, just a # symbol added to the address of the current page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It works as you explained, and my implementation is in Chrome, IE, FireFox and Safari...all the latest versions and on Windows. So, I don't really have a problem with anything that's broken I guess. As I hover over the items with hash tags I was noticing the URL was the prior URL I had been sitting on so I was concerned that it would take the user to an incorrect link. Since it actually causes a NULL action, it's not a problem at all. It's just me looking at the hover URL and worrying that user's might get confused. In reality, they will just CLICK and nothing should happen. Thank you for the quick response.

Similar Threads

  1. Replies: 2
    Last Post: 10-29-2011, 01:13 PM
  2. menu items and sub-menu items display problem in IE?
    By venkat6134 in forum JavaScript
    Replies: 0
    Last Post: 12-01-2010, 05:04 AM
  3. DDSmoothMenu -Slow at CSS styling
    By SniffTheGlove in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 09-22-2009, 06:39 AM
  4. BLM Menu: Styling items without links
    By dmwhipp in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-15-2009, 05:05 PM
  5. Setting Target for Top Level Menu Items in Switch Menu
    By So_Cute in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 08-15-2005, 04:37 AM

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
  •