|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Hi
On a perl-genrated web page, I am displaying a series of statements (associated with urls) and want to add the appropriate url of any selected (clicked) statement to a visitor's bookmarks/favorites. I get as far as identifying the correct url - but how do I then automatically write that URL and its description to bookmarks / favorites? (My client wants to save his visitors 1 whole mouse-click.....) Thanks in advance [This message has been edited by focus (edited July 31, 2000).] |
|
#2
|
||||
|
||||
|
focus,
you can do the book marking in java script very easily. here is the code. <Script Language="JavaScript"> function addbookmark() { addme="http://www.webshiju.com/"; myname = "Shiju's Home"; window.external.AddFavorite(addme, myname) } </Script> ---- You can call the above function in page onLoad event or somewhere. --- ------------------ SR - webshiju.com "The fear of the LORD is the beginning of knowledge..." |
|
#3
|
|||
|
|||
|
The javascript code will only work with IE, for Netscape users, you need to tell them to manually press Ctrl-D to bookmark!
------------------ http://new.123finder.com/ - Helps you find cool domains for FREE & Registers it for only $14.95/yr http://www.guideclick.com/ - Qualified webmaster resources (affiliate programs, web design, tips) ------ Son |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > adding a URL to bookmarks/favorites |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|