Creature World Forums » Web Design & Programming » Html to rotate images upon refresh? ISO

Html to rotate images upon refresh? ISO
Page: 1

Html to rotate images upon refresh? ISO, January 02 2009 @ 6:15PM by Tracie
Can anyone help me with this? We had a member here a couple of years back that had given me the simple html to do this on my profile page but she quit the site some time ago and I lost the html she had given me.

It was just a simple bit of html coding and I could add as many urls of my images as I liked and a different one would show up each time if someone refreshed the page.

I know this can be done in javascript and also with using external sites like cgispy, but I want to do this in my own html in my profile coding, and I know it can be done as I did it before.

Thanks to anyone that can assist me with this, it is greatly appreciated. Put a smile on!
 

January 03 2009 @ 8:03AM, Response by Joe « Html to rotate images upon refresh? ISO
Umm it probably wasn't HTML as it can't be done with HTML. It may by the randblock function that CW has.


You can do the following:

{RANDBLOCK}Imagehere--------Imagerhere--------Imagerhere{/RANDBLOCK}

Replace the { with [ and } with ] as well as the 'Imagehere' with an actualy img tag and you should have a randomly rotating set of images.

[Edited by a moderator]
 

Html to rotate images upon refresh? ISO » Response by Tracie, January 03 2009 @ 10:21AM
Whoooo Hooooo, thanks so much Joe, off to try it now! Put a smile on!

Okay, for whatever reason, that definitely is not working for me. I only have the text show up on my profile... Will look at it and make sure I have it exactly as you show other than replacing the bits you mentioned.

Edit again, afraid this code is not working for me. I do it exact and only have the text to one of the tags show up on my profile. Is there something I am doing wrong? I replaced all three areas for the images with my urls and replaced the { and } tags...




[Edited by a moderator]
 

January 03 2009 @ 12:52PM, Response by Joe « Html to rotate images upon refresh? ISO
You need to keep the --------s between each image tag
 

Html to rotate images upon refresh? ISO » Response by Tracie, January 03 2009 @ 1:43PM
I have them in my html coding on my profile.

this is what I have...I put the { and } in just now to be able to show you but I do have the ['s in there.

{RANDBLOCK}http://img.photobucket.com/albums/v24/Traciecat/tracietags/ocena_tracie_thetagmaker-vi.gif--------http://img.photobucket.com/albums/v24/Traciecat/tracietags/Tracie_noir_agi-vi.jpg--------http://img.photobucket.com/albums/v24/Traciecat/tracietags/Tracie_AmyLee_VD-vi.jpg{/RANDBLOCK}

thanks for helping me out here Joe, I appreciate it. Put a smile on!

oops, my code stretched the page, sorry about that.
 

January 04 2009 @ 9:23AM, Response by Joe « Html to rotate images upon refresh? ISO
Yeah you need to use the image html tag within the randblock though:

[img src="location"]

(but with chevrons instead of [ ])
 

Html to rotate images upon refresh? ISO » Response by lpe39, January 04 2009 @ 9:32AM
worked great for me
 

January 04 2009 @ 12:25PM, Response by Tracie « Html to rotate images upon refresh? ISO
aha!!!!!! That is what I was doing wrong, thanks again so much Joey... Put a smile on! Put a smile on!
 

Html to rotate images upon refresh? ISO » Response by lpe39, January 04 2009 @ 2:40PM
if you need anything try contacting me too
 

January 04 2009 @ 5:58PM, Response by Tracie « Html to rotate images upon refresh? ISO
Thanks but that was all I needed and Joey helped.... thanks though.
 

Html to rotate images upon refresh? ISO
Page: 1

This topic has not been posted to in a long time. It is considered 'dead' and cannot be replied to.


Creature World Forums » Web Design & Programming » Html to rotate images upon refresh? ISO
Copyright Creature World 2008. All rights reserved.
Staff | Rules | Jobs | Privacy Policy | Contact Us