|
| |||||||
![]() | 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 | |
| Junior Member | Greetings, I would like some help solving this thing i have on my mind. I have a website that list hotels. The website has 3 areas of showing clients: 1-quick view with pop-up windows ( calling example1.html file ); 2-personal pages of each hotel ( calling example2.html file ); 3-a few dozen of pages with information on several monuments in that specific town. these pages have iframes that call example3.html file; What i need is: to have a code to insert on example3.html file in order to call all the example1.html files randomly. which means that the iframe calling example3.html file will show ramdomly all the other existing pop up pages ( now not in pop up ). can i do it? I mean, i know i can but how can you help please? one example of an .html file that pop's up from the homepage is here, and one of the example pages where i want the rotative ramdom adds is here; I have a code to call ramdom images, or even a slide show ( example below) : Quote:
So it got to exist one to call different .html pages. thank you, | |
| |
|
| |||||||
| | #2 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You could use PHP do call a random page. Code:
You would put that code in the page that would be accessed by the user, and replace the included html files with your own. |
| |
| | #3 | |
| Junior Member | hello wow man you just solved one of my problems. Quote:
this was enough.... i just made the iframe call a banner.php with the code and voila!! thank you. | |
| |
| | #4 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Wow, I'm on a roll today....Glad to be of service. The tough one is gonna be the iframe problem. |
| |
| | #5 |
| Junior Member | well i also think that is going to be a problem since the page will always open on the iframe. so tell me is there anyway i can make this work without the iframe? but has to be on html as the base window is already .html ... can i call that .php with the ramdom .html from an html page? |
| |
| | #6 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Unfortunately you must name the document .php in order for the server to know that there is php that needs to be parsed. Can you rename the .html page to .php? Or would that cause a problem? |
| |
(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 |
| Hi - Hoping to Make It Big | sss3d | Introduce yourself | 7 | 12-22-2006 06:06 AM |
| Profit Geek Giving $1000 Cash to Random Forum Member : YOU Can Win! | SUP3RNOVA | Website Reviews | 1 | 12-19-2006 05:32 PM |
| Random Idea's | LadyHoldem | Adsense | 2 | 11-02-2006 03:55 AM |
| veblo - unique, random, and curious things - a media blog | compuXP | Advertise your website | 0 | 03-05-2006 11:33 PM |
| Resizing iframe from iwebtool | SiCK | Discuss iWEBTOOL | 1 | 01-19-2006 04:21 AM |