EY Posted March 18, 2008 Share Posted March 18, 2008 I need to do the following: I want a banner at the bottom of my index.php page. I want it that when it is clicked, to open a new web page taking it to the banner's link. But when it is clicked i want it to change into a different banner with different site. A rotating banner that changes the banner when it is clicked. Can anyone help me with this one. I am not sure this si the right place sorry if it is not. Thanks in advancce. Quote Link to comment https://forums.phpfreaks.com/topic/96775-banner/ Share on other sites More sharing options...
EY Posted March 19, 2008 Author Share Posted March 19, 2008 Can anyone help me please. Quote Link to comment https://forums.phpfreaks.com/topic/96775-banner/#findComment-495457 Share on other sites More sharing options...
haku Posted March 19, 2008 Share Posted March 19, 2008 You can do it with javascript or a server-side scripting language, but a server-side language will require a page refresh. Good luck! Quote Link to comment https://forums.phpfreaks.com/topic/96775-banner/#findComment-495469 Share on other sites More sharing options...
EY Posted March 19, 2008 Author Share Posted March 19, 2008 Can you give me a code example of how the code would be in javascript please. As i have no idea how. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/96775-banner/#findComment-495475 Share on other sites More sharing options...
haku Posted March 19, 2008 Share Posted March 19, 2008 I'm sorry, I'm more than happy to help people fix code they have written and are having troubles with. But when it comes to writing code for someone, well that's what designers/developers get paid for. Quote Link to comment https://forums.phpfreaks.com/topic/96775-banner/#findComment-495480 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.