Welcome, Guest. Please login or register.
Did you miss your activation email?
14 May 2008, 05:21

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Image Rotator - Invalid XHTML  (Read 827 times)
0 Members and 1 Guest are viewing this topic.
hexdj
Forum Member
*

Karma: 2
Offline Offline

Posts: 218

Location: California



« on: 24 Jan 2008, 11:39 »

Using the image_rotator plugin will invalidate XHTML because it gives all of the rotating images the same ID.

Alby: There you go
 Grin
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 99
Online Online

Posts: 2128

Location: Ferrara, Italy


My kids


« Reply #1 on: 25 Jan 2008, 09:30 »

Using the image_rotator plugin will invalidate XHTML because it gives all of the rotating images the same ID.

Alby: There you go
 Grin

In attach there is a testing version 1.7

- Add images_only param (overwrite search image files and use this images only in same order). It's comma separated of filename image. Example: images_only="1.jpg,2.jpg,3.jpg"

- Add background (rotator=new only) param with a rotator_placeholder div. It's RGB hex code. Example: #ff0000

- Bugfix for avoid XHTML validation (rotator=new only)

Please test this tag

Alby

* function.image_rotator.mpg (5.31 KB - downloaded 76 times.)
Logged

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (PLEASE test beta) - Content Pagination (TEST PLEASE)

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.2.4b - Doc/Howto/Tips (#9)
hexdj
Forum Member
*

Karma: 2
Offline Offline

Posts: 218

Location: California



« Reply #2 on: 25 Jan 2008, 13:34 »

Thanks Alby, now it Validates   Grin

A couple of notes
1. Alt Doesn't seem to work, no matter what I write it always says Image Rotator, but Title does work
2. I couldn't tell if Background was working, no matter what color I used it looked the same in the transition.

Thanks for the update!
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 99
Online Online

Posts: 2128

Location: Ferrara, Italy


My kids


« Reply #3 on: 25 Jan 2008, 15:10 »

1. Alt Doesn't seem to work, no matter what I write it always says Image Rotator, but Title does work

Works for me, I have:
Code:
{image_rotator folder="uploads/images/img_roll" width=195 height=142 images_only="1.jpg,2.jpg,3.jpg" rotator="new" alt="test-alt" title="test-title"}


2. I couldn't tell if Background was working, no matter what color I used it looked the same in the transition.

This is a report from kendo451 when using a dialup line (very slow line)
I had not notated  Roll Eyes

Alby
Logged

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (PLEASE test beta) - Content Pagination (TEST PLEASE)

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.2.4b - Doc/Howto/Tips (#9)
kendo451
Forum Member
*

Karma: 1
Offline Offline

Posts: 57

Location: Mendota, Virginia



« Reply #4 on: 28 Jan 2008, 14:11 »

I try to download version 1.7 in your attachment, Alby, but it is corrupt or something.  Can you attach it as a txt file?

Thanks,
Ken
Logged
alby
Member Support Team
Support Guru
Power Poster
****

Karma: 99
Online Online

Posts: 2128

Location: Ferrara, Italy


My kids


« Reply #5 on: 28 Jan 2008, 14:15 »

I try to download version 1.7 in your attachment, Alby, but it is corrupt or something.  Can you attach it as a txt file?

Rename to .zip

Alby
Logged

Member CMSMS Support Team
Italian Forum Moderator - Italian admin Project

Plugins: Geolocate hostip - Multiple random image - Image rotator (PLEASE test beta) - Content Pagination (TEST PLEASE)

Modules: ForumMadeSimple - Howto (FMS)

Multilingual: CMSMS MLE 1.2.4b - Doc/Howto/Tips (#9)
Pages: [1]
Print
Jump to: