homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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?

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

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

 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?


 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved