| | |
Javascript menu blocked by browser what can I do for alternative
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2005
Posts: 32
Reputation:
Solved Threads: 0
Hi Y'all
Have a javascript menu, which doesnt appear on the browser when the block is on, so just empty space. Is it possible to have some alternative incase the user doesn't choose to disable their browser block?
That is have both the javascript and alternative available if 1 blocked other appears??
Best regards
Catherine
Have a javascript menu, which doesnt appear on the browser when the block is on, so just empty space. Is it possible to have some alternative incase the user doesn't choose to disable their browser block?
That is have both the javascript and alternative available if 1 blocked other appears??
Best regards
Catherine
by "the block" do you mean the "don't want javascript" block? do this:
<script>
javascript menu generating thing
</script>
<noscript>
html alternative
</noscript>
otherwise;have an element:
<div id="javascript_please_hide_me">
put your html alternative here
</div>
<script type="text/javascript">
document.getElementById("javascript_please_hide_me").style.display="none";
</script>
<script>
javascript menu generating thing
</script>
<noscript>
html alternative
</noscript>
otherwise;have an element:
<div id="javascript_please_hide_me">
put your html alternative here
</div>
<script type="text/javascript">
document.getElementById("javascript_please_hide_me").style.display="none";
</script>
Plato forgot the nullahedron..
![]() |
Similar Threads
- confused about SE + SEO. (Search Engine Optimization)
- Help with JavaScript Menu (JavaScript / DHTML / AJAX)
- DHTML & Javascript menu - trouble with z-index (JavaScript / DHTML / AJAX)
- ValueClick - an adsense alternative! (Advertising Sales Strategies)
- how to use a javascript menu in asp.net (ASP.NET)
- Address bar pulldown menu disappeared (Windows NT / 2000 / XP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: <select> options selection on mouse over
- Next Thread: Creating CSS Psuedoclasses?
Views: 3079 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxcode ajaxhelp animate array automatically autoplay beta boarder box bug calendar captcha card cart codes column cookies createrange() css cursor date debugger decimal design developer dom download dropdown element enter error events firefox firehose flash focus form frameworks getselection google gwt html htmlform iframe image() images index java javascript javascripts jawascriptruntimeerror jquery jsp listbox maps marquee masterpage menu microsoft mimic mp3 mp4 offline onmouseover parameters php player post problem programming progressbar prototype rating redirect regex safari scale scriptlets search select size sources sql starrating text textarea toggle twitter validation variables w3c web website window windowofwords windowsxp xml xspf






