/    Sign up×
Community /Pin to ProfileBookmark

trouble linking to pdf files from within nested list items

hey all

i am having a nightmare with something i am working on and i was wondering if anyone can help me.

i have a menu list which has some submenus which are styled to be hidden using css then shown when main header clicked using jquery, my problem lies even if i remove the jquery and styled parts of the list,

below is my code:

[CODE]<ul>
<li> menu item 1
<ul>
<li> <a href=”linktoapdffile.pdf”> submenu item 1</a> </li>
</ul>
</li>
</ul>
[/CODE]

when the submenu item 1 is clicked nothing happens but if i do it like this:

[CODE]<ul>
<li> menu item 1</li>

<li> <a href=”linktoapdffile.pdf”> submenu item 1(was submenu but not nested anymore so actually a menu item 2</a> </li>

</ul>[/CODE]

then the pdf file opens. where am i going wrong? is it that pdf files just can not be opened from a nested link item??

thanks in advance

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@kiwibritSep 04.2009 — Couldn't see a problem. Ran your first code example with the nested list. Worked fine.
Copy linkTweet thisAlerts:
@CharlesSep 04.2009 — Please post a link to the offending page. Perhaps something from above is cascading.
×

Success!

Help @Vade spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...