|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Member Join Date: Dec 2005
Posts: 132
![]() | I'm making a small presentation which is in HTML. There is a sidebar which has three parts out of which anyone can be made visible/invisible. What i want is some way to share variables amongst the pages to share the visibility status of the parts. Since it's local, cookies aren't working (do they.. if they do.. tell me how to, i have tried, but cookies aren't getting saved from local pages). Is there any other way share variables. Otherwise one way is to use GET data for all links. Like, if i'm going to c:/expuni/mypage.html, it should goto: C:/epxuni/mypage.html?var1=value&var2=value but, there are so many links now, that it is not possible for me to change the anchor elements by javascript everytime a visiblity state is changed. So, is there a way such that everytime a link is clicked on, a function is executed that modifies the link, adds GET data and goes to that location. thanks a lot.
__________________ Eat healthy, Stay Fit, Die Anyway. --==-- If there is a man who knows everything about women, there is a Windows distribution without bugs. |
| |
|
| |||||||
| | #2 |
| Newcomer Join Date: Nov 2006
Posts: 9
![]() | If you still need help (I definitely need to post ), you could use the session() function in php to store variables between page requests. see php.net/session
__________________ http://www.iwebtool.com/talk/thread5094-post25541.html#post25541 |
| |
| | #3 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You could use sessions to pass session variables, or you could pass them using forms from one page to another using the post method if you want. |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Intervariables across pages | rohan2kool | HTML | 2 | 10-14-2006 05:52 PM |
| Free local golf partner search engine | mygolfbuddy | Advertise your website | 1 | 10-10-2006 08:40 PM |
| Free local golf partner search engine. | mygolfbuddy | Advertise your website | 0 | 09-26-2006 09:14 AM |
| static pages vs dynamic pages | Chart Music | 5 | 09-15-2006 11:41 PM | |