Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: JavaScript Help ("3" instead of "#3")? |
From: | Marc Pidoux |
Date: | Sat, 29 Apr 2000 00:35:22 +0100 |
Perfectly working,
Thanks
Marc
"Gustavsson, Niklas" a �crit :
> 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
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 , Gustavsson, Niklas
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]