Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-19-2008, 01:53 PM   #1 (permalink)
Contributing Member
 
Join Date: 01-18-08
Posts: 141
iTrader: 0 / 0%
Latest Blog:
None

madcaptains is liked by many
Banner rotation script

Hello,
I am looking for an easy to use banner rocation script.

Thank you
__________________
Fish-Med Aquarium fish diseases diagnosis and medication
madcaptains is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-19-2008, 09:59 PM   #2 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
This a version of my "BannerRotator" module existent in my framework (Because it's not yet available and of cource, you don't have it I had to make some small changes so you can use it outside of the framework).

See the zip archive, it's all in there.


hth
Attached Files
File Type: zip banner.zip (62.2 KB, 16 views)
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-20-2008, 01:13 PM   #3 (permalink)
Contributing Member
 
Join Date: 01-18-08
Posts: 141
iTrader: 0 / 0%
Latest Blog:
None

madcaptains is liked by many
Great thank you very much! I'll add it to my template soon.

Thanks again
__________________
Fish-Med Aquarium fish diseases diagnosis and medication
madcaptains is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-21-2008, 02:14 AM   #4 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
You're welcome!
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-21-2008, 02:58 AM   #5 (permalink)
Contributing Member
 
Bagi Zoltán's Avatar
 
Join Date: 11-28-06
Location: Hungary
Posts: 195
iTrader: 1 / 100%
Bagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebody
I downloaded the script and the javascript seems to be quite simple and clean. Looks very good
__________________
eCommerce shopping cart :: seo directory
Bagi Zoltán is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-21-2008, 07:12 PM   #6 (permalink)
Contributing Member
 
Join Date: 01-18-08
Posts: 141
iTrader: 0 / 0%
Latest Blog:
None

madcaptains is liked by many
ok, it's now time to add the banner rotator script to my page and I have some beginner problems here.

Here is what I did:

1) I uploaded the file you gave me.
2) I added this part of the script into the head of my document:

Quote:
<script src="bannerRotator.js" type="text/javascript"></script>
<script type="text/javascript">
var imagesList = new Array("img1.jpg", "img2.jpg", "img3.jpg");
window.onload = function() {
var controlID = document.getElementById("ImageController");
return BannerRotator(controlID, imagesList, null);
};
</script>
3) I added this part of the script into the body part of my document where I want the banners to be (right at the top after the body tag):
Quote:
<div id="BannerContainer">
<img id="ImageController" src="img1.jpg" alt="" />
</div>
You can view my page here: Fish-Med
have I done it right?

Thank you for your time
__________________
Fish-Med Aquarium fish diseases diagnosis and medication
madcaptains is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-21-2008, 11:28 PM   #7 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
You have done it right, only that you forgot to upload the js script!
You have set up the path to the file "<script src="bannerRotator.js" type="text/javascript"></script>" but I couldn't find it.
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-22-2008, 06:19 AM   #8 (permalink)
Contributing Member
 
Join Date: 01-18-08
Posts: 141
iTrader: 0 / 0%
Latest Blog:
None

madcaptains is liked by many
ok it's working now.

If I want to add links to each banner, where should I put this link in the script
__________________
Fish-Med Aquarium fish diseases diagnosis and medication
madcaptains is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-22-2008, 06:43 AM   #9 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
You mean something like a click-able banner? (you want the images to act as links?)
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-22-2008, 06:53 AM   #10 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
? eh?
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-22-2008, 07:18 AM   #11 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
Well, I guess that's what you want...

I created 2 sample files for you:

1. no linked images
2. linked images (that is, if you click on one image you'll navigate to that url)

see the archive.
Attached Files
File Type: zip banner.zip (63.5 KB, 8 views)
__________________
JUNE - JavaScript Framework

Last edited by Costin Trifan : 04-22-2008 at 07:32 AM. Reason: fixed some code in the files
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-22-2008, 09:19 AM   #12 (permalink)
Contributing Member
 
Join Date: 01-18-08
Posts: 141
iTrader: 0 / 0%
Latest Blog:
None

madcaptains is liked by many
Hi,
Sorry for the late reply. That's exactly what I was looking for. I'll have a look to the script after work today.

Thank you!!!
__________________
Fish-Med Aquarium fish diseases diagnosis and medication
madcaptains is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
banner rotation DaveyBoy Web Design Lobby 4 10-21-2006 10:38 PM
Simple Banner Rotation Script John Scott Coding Forum 32 04-08-2006 11:03 AM
Banner rotation Limit Coding Forum 6 12-28-2003 09:00 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:37 AM.
© Copyright 2008 V7 Inc