HighDots Forums  

Need page w/redirect to not be kept in history!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Need page w/redirect to not be kept in history! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
davidlieb
 
Posts: n/a

Default Need page w/redirect to not be kept in history! - 11-19-2004 , 03:27 PM






I'm using the flash sniffer that comes with DW, which traps my users in my site
because it won't let them use the back button. I've heard that I can use
window.location.replace to keep this from happening, but frankly, I'm new to JS
and and having mucho problems. Maybe someone can give me a tip? Here's the
script I'm using. function MM_checkPlugin(plgIn, theURL, altURL, autoGo) {
//v4.0 var ok=false; document.MM_returnValue = false; with (navigator) if
(appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
ok=(plugins && plugins[plgIn]); } else if
(appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1 if
(plgIn.indexOf('Flash')!=-1 && window.MM_flash!=null)
ok=window.MM_flash; else if (plgIn.indexOf('Director')!=-1 &&
window.MM_dir!=null) ok=window.MM_dir; else ok=autoGo; } if (!ok)
theURL=altURL; if (theURL) window.location=theURL; } and the body tag: <body
bgcolor='#000000' onLoad='MM_checkPlugin('Shockwave
Flash','webdesignclass.html','no_flash_index.html' ,false);MM_preloadImages('vide
o_training/images/order-now-sparkle-over.gif');return document.MM_returnValue'>
Thanks!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.