aztec Posted November 5, 2008 Share Posted November 5, 2008 Hello I am no expert when it comes to javascript so would like your help to modify a script I found at the following address http://www.dhtmlgoodies.com/index.html?showDownload=true&whichScript=slide_in_pane I have modified the script so that if Javascript is turned off it will load a html help page. Now I would like to create a separate file that will load into the slideout panel when a link or f1 is pressed The operation of the panel works very well but there is one BIG drawback, the text for the inner panel needs to go on every page. This is not acceptable, every time I modify the help page means updating every page on the site. I have been trying to contact the person who wrote the script though their forum but to no avail. Kind Regards Link to comment https://forums.phpfreaks.com/topic/131501-slide-help-script/ Share on other sites More sharing options...
Maq Posted November 5, 2008 Share Posted November 5, 2008 So what's your question? Link to comment https://forums.phpfreaks.com/topic/131501-slide-help-script/#findComment-682955 Share on other sites More sharing options...
aztec Posted November 5, 2008 Author Share Posted November 5, 2008 Hello Sorry Maq. I was concentrating on getting the info down and forgot the main part. I want to create an external text file and when the panel is called by pressing f1 or clicking on the Help button to load that text into the inner panel that slides out. Regards Link to comment https://forums.phpfreaks.com/topic/131501-slide-help-script/#findComment-682961 Share on other sites More sharing options...
Adam Posted November 6, 2008 Share Posted November 6, 2008 You'll need to look into AJAX to load external files. Take a look at these examples (mainly the top one): http://www.w3schools.com/Ajax/ajax_examples.asp Adam Link to comment https://forums.phpfreaks.com/topic/131501-slide-help-script/#findComment-683565 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.