homepage Welcome to WebmasterWorld Guest from 54.205.254.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Add to my Favorites script
how do i modify it so that it can accept the current url
Skinny




msg:1487618
 12:58 am on Jul 3, 2005 (gmt 0)

Ok, I'm familiar with the add to my favorites script.

However, is it possible that there is a function or something that can take the current url (the url of the pg. that a visitor is on) and use that to be the url to be added to My Favorites.

If you'd like me to display the script please ask me to and i'll do so.

Thanks,

Skinny

 

j4mes




msg:1487619
 12:28 pm on Jul 3, 2005 (gmt 0)

window.location

Skinny




msg:1487620
 4:41 pm on Jul 3, 2005 (gmt 0)

when i run the script I get an error saying that permission is denied. Can anyone tell me why?

Is there another way of doing this?

j4mes




msg:1487621
 8:20 pm on Jul 3, 2005 (gmt 0)

I get an error saying that permission is denied

That's odd, are you using a locked-down version of Internet Explorer?

There are other methods but if Microsoft have decided it's a no-no (like *that's* the biggest security risk in windows! ;-) then you may have problems.

window.href does a similar job. Perhaps you could paste some code?

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