homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Alert when adding to Favorites?
Can it be done?
yump




msg:1495133
 12:43 pm on Aug 3, 2005 (gmt 0)

Hi,
Not sure if this can be fixed with JS, but I've got visitors saving a dynamic page which has different urls (in date order) ie. page.cfm?startrow=1; page.cfm?startrow=20 etc.

They mean to save the startrow=1 page to revisit another day, but some are accidentally saving historic pages and not seeing the latest updates.

Can I put some JS code on all pages except the current one, to warn them not to save.

Thanks for any help.

(I guess I could test the referring url on each page and if its not my site, then redirect to the current page, but that seems a bit clumsy).

 

JAB Creations




msg:1495134
 9:00 pm on Aug 4, 2005 (gmt 0)

With Javascript I believe you can make an "Add bookmark" type of link that will add a bookmark... you could use an onmousedown ...alert script possibly?

yump




msg:1495135
 1:59 pm on Aug 6, 2005 (gmt 0)

Thanks will give that a try.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved