User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,218 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,201 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 363 | Replies: 5
Reply
Join Date: Oct 2005
Location: Harare, Zimbabwe
Posts: 33
Reputation: tirivamwe is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 2
tirivamwe's Avatar
tirivamwe tirivamwe is offline Offline
Light Poster

Please help on links

  #1  
Jan 29th, 2008
i have a website and it have a flash banner. the problem is that every time i open a link the banner will have to reload again.

is there any way that i can use on my links so that when the link is clicked it will include a page (for axample information of about us, services) in the contents part of the page (below the banner) without making the banner to reload just like what frames do
If you find this useful you can add to my reputation
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,098
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 240
nav33n's Avatar
nav33n nav33n is offline Offline
Posting Sensei

Re: Please help on links

  #2  
Jan 29th, 2008
umm..As far as I know, you cant do that without using frames. Even if you use include or require, whenever the page is loaded, it will include the banner page again. Lets see if someone has a solution for this !
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Join Date: Nov 2007
Location: Las Vegas, Nevada
Posts: 83
Reputation: johnsquibb is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 14
johnsquibb's Avatar
johnsquibb johnsquibb is offline Offline
Junior Poster in Training

Re: Please help on links

  #3  
Jan 29th, 2008
you could use ajax to load the contents of a page into a div layer, but that is about the same approach as using frames, with more work.

You could try and get fancy with some actionscript to write session or cookie data from within the flash at increments of the timeline. You could use that session/cookie data on subsequent pages to start the flash where it left off, or have it not play at all if the data is set. This would require some server side scripting and some knowledge of actionscript so that you could get the flash to interact with the script.

For what it's worth, I usually just use frames...If SEO is a concern however, you may want to avoid using frames. Another approach is to just use a static image banner on all the pages after the first.
Reply With Quote  
Join Date: Jan 2008
Posts: 2
Reputation: ryance03 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ryance03 ryance03 is offline Offline
Newbie Poster

Re: Please help on links

  #4  
Feb 6th, 2008
can you help for my school project.. . ??? Its all about a program that will compute for CPU scheduling with CPU gantt chart in Operating System subject.. from what language can I do it easier?? Is it in Visual Basic or in Flash 8 using actionscript?? Can you help me guys??? I need your help guys. . Thanks in advance. . I will wait for your suggestions. .
Reply With Quote  
Join Date: Feb 2008
Posts: 12
Reputation: web_lock is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
web_lock web_lock is offline Offline
Newbie Poster

Re: Please help on links

  #5  
Feb 9th, 2008
I've got a few suggestions
1) As Nav33n suggested , you could make use of frames.
2) With the exception of Frames, you could look into Layers, however Layers react differently with Mozilla and IE
3) if your banner does not have any other functionality(onClick etc, links) , and its used only for cosmetic purposes , I suggest you convert it to a gif format. It loads a lot faster.
web_lock
--------------------------------------------------------------------------------------
God created the world out of atoms, I intend on creating mine out of 1's and 0's
Reply With Quote  
Join Date: Dec 2007
Location: Bangalore,India
Posts: 118
Reputation: carobee is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
carobee carobee is offline Offline
Junior Poster

Re: Please help on links

  #6  
Feb 11th, 2008
Originally Posted by tirivamwe View Post
i have a website and it have a flash banner. the problem is that every time i open a link the banner will have to reload again.

is there any way that i can use on my links so that when the link is clicked it will include a page (for axample information of about us, services) in the contents part of the page (below the banner) without making the banner to reload just like what frames do


did you try header().
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 11:15 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC