Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 16th May 2012, 12:34 PM   #1
Advanced Warrior
War Room Member
 
Join Date: 2011
Posts: 587
Thanks: 107
Thanked 93 Times in 51 Posts
Default
HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

Anyone know where I can find some javascript code to rotate blocks of HTML on my site? I found scripts to rotate banners and images but I need to rotate HTML code.
RayW is offline  
Unread 29th May 2012, 03:53 PM   #2
HyperActive Warrior
War Room Member
 
randomsoftwaregroup's Avatar
 
Join Date: 2011
Location: USA
Posts: 122
Thanks: 3
Thanked 33 Times in 20 Posts
Blog Entries: 6
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

Ray, it is a simple adjustment to get the html's codes to rotate. Shoot me the example html codes you want rotated and I will adjust the code, send it to you, and let you know how to make adjustments.
randomsoftwaregroup is offline  
Unread 29th May 2012, 04:50 PM   #3
Advanced Warrior
 
Join Date: 2007
Location: , , Canada.
Posts: 563
Thanks: 2
Thanked 101 Times in 88 Posts
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

this was asked already
http://www.warriorforum.com/programm...or-script.html
crams is offline  
Unread 31st May 2012, 05:41 AM   #4
Warrior Member
 
Join Date: 2012
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

It is not possible to rotate images using only HTML.

For this scripting is required. You can do this using JavaScript or Ajax.

In JavaScript:

1. Assign an unique id to image tag.
2. Create an array which contain URL's for images.
3. Get some knowledge on timer in JavaScript.
4. Create a function which rotates images SRC property after a specific interval using timer object.
5. Call this function on document.ready() in your header.
6. If you have knowledge of random number in JavaScript, change the images randomly.

Ajax is much longer process...will explain if required.

Let me know if you have any problem in this.

WebIntel provides its services to develop a unique web sites and perth web design globally.
peter786110 is offline  
Unread 31st May 2012, 07:13 AM   #5
Advanced Warrior
War Room Member
 
Join Date: 2011
Posts: 587
Thanks: 107
Thanked 93 Times in 51 Posts
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

Thanks guys, figured it out.
RayW is offline  
Unread 3rd Feb 2013, 08:02 AM   #6
Warrior Member
 
Join Date: 2012
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

Hello RayW can u just make a HTMl page html with example ..i am also tryiing to do same thing but can"t .

it will very help Full if u .just reply Help me out ..


thank you

regands
Anil verma
vipanil is offline  
Unread 4th Feb 2013, 09:40 AM   #7
ResponsiveDesignTest.Net
Registered Member
 
Michael71's Avatar
 
Join Date: 2011
Location: Rostock, Germany
Posts: 829
Thanks: 106
Thanked 225 Times in 194 Posts
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

jquery innerfade, just an example

HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
Michael71 is offline  
Unread 8th Feb 2013, 07:34 PM   #8
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: 2008
Location: Waterdown, Ontario, Canada
Posts: 8,208
Thanks: 2,059
Thanked 3,699 Times in 2,243 Posts
Blog Entries: 2
Default
Re: HTML Code Rotation Script
Share on: 
fb share twitter share gplus share more share

If you post anything in this thread, you risk your post getting deleted. Here is why...

Istvan Horvath is offline  
Closed Thread


Bookmarks

Tags
code, html, rotation, script


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

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




All times are GMT -6. The time now is 08:59 PM.