Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: JavaScript Help ("3" instead of "#3")? |
From: | Gustavsson, Niklas |
Date: | Fri, 28 Apr 2000 13:08:17 +0100 |
Try this...
loc=document.location.hash;
which_number=parseInt(loc.substr(1))
/niklas
-----Original Message-----
From: Marc Pidoux [marcpidoux [dot] com (mailto:marcpidoux [dot] com)]
Sent: Saturday, April 29, 2000 1:30 PM
To: flasherchinwag [dot] com
Subject: Re: FLASH: JavaScript Help ("3" instead of "#3")?
Hi,
I tried it but it doesnt't work...maybe I am doing something wrong but I
was trying every posssible combinaison.
(I am getting the NaN error probably because "#3" is not a number and
this method cannot make any operation with it)
Any other tips?
Marc
Eric Dunham a �crit :
> Try parseInt(document.location.hash)
> HTH,
> Eric Dunham
>
> -----Original Message-----
> From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of Marc
> Pidoux
> Sent: Friday, April 28, 2000 9:05 PM
> To: flasherchinwag [dot] com
> Subject: FLASH: JavaScript Help
>
> Working on a script to bookmark a flash file, I need to get the hash
> variable (document.location.hash).
>
> But this bring me back "#3" for exemple and I need to have only "3".
>
> Does anybody know how to get ride of the "#" with JavaScript?
>
> Thanks
>
> Marc
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Get the last 100 messages from the flasher list NOW
> http://www.chinwag.com/flasher/last100.shtml
>
> Flash books http://www.chinwag.com/flasher/books.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Get the last 100 messages from the flasher list NOW
> http://www.chinwag.com/flasher/last100.shtml
>
> Flash books http://www.chinwag.com/flasher/books.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: JavaScript Help ("3" instead , Marc Pidoux
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]