Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-17-2004, 03:55 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
check if previous history exists

is there anyway to detect if the history object can go back() before you actually go?

is there anyway to detect which item of the history array you are currently on?

i only need to tell when i am on the history[0] so i can dynamically create a mock back/forward navigation. i need the back button to be a different image if there is no more backing up to do.
__________________
Mike
sde is offline   Reply With Quote
Old 05-18-2004, 08:06 AM   #2 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
can you do this with sessions in php?
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 05-18-2004, 08:29 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
sure, i was trying to avoid server-side though since it is for a flash module.
__________________
Mike
sde is offline   Reply With Quote
Old 05-18-2004, 09:58 AM   #4 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
i will email rich and see if he knows.
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 05-18-2004, 10:00 AM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
ok .. the details are that we are embedding a flash module into a web site for navigation. it will reload with every page.

we only need to get the total length of the history ( history.length works fine ) and we need to know when there is no history left ( so we can display a grayed out back button )

thanks
__________________
Mike
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 02:04 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting