Pause in rotation and link to open in new window ?

Asked by Roy Thomas

Thanks for the module. I am using three instances of the module in my site.

I have three issues.

I have tried your link method and I got it working. But I would like to know weather it is possible to open the link in a new tab. My purpose is to provide external links.

Another problem I have noticed here is, sometimes two slogans appear in the same frame.(sometimes the same slogans appear as separate ones).

Also I am having a long pause sometimes between slogans as if it is not working. Then it resumes.

Any suggestions? (I am testing my site in Xampp 1.7.3)

Thanks for the module I like it very much!

Roy Thomas

Question information

Language:
English Edit question
Status:
Answered
For:
Sloganator Slogan Rotator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Tim Black (tim-alwaysreformed) said :
#2

> I would like to know weather it is possible to open the link in a new tab. My purpose is to provide external links.

This should be implemented in the (still future) 1.2 release. You will be able to put any HTML tag attributes you want into a third parameter in the slogan list field, like this:

CNN News|http://cnn.com|target="_blank" onclick="alert('You clicked the CNN link!');"

If you want to implement this feature now, you can imitate the changes I made in this diff:

http://bazaar.launchpad.net/~tim-alwaysreformed/mod-sloganator/trunk/revision/15?remember=13&compare_revid=13

Revision history for this message
Tim Black (tim-alwaysreformed) said :
#3

> Another problem I have noticed here is, sometimes two slogans appear in the same frame.(sometimes the same slogans appear as separate ones).

> Also I am having a long pause sometimes between slogans as if it is not working. Then it resumes.

These two problems are both caused by the fact that the code is not written to allow more than one Sloganator module to be published on the same page at the same time.

I changed the code to allow publishing more than one module simultaneously, and this new feature will be included in the next release. If you want the feature now, you can copy my changes here:

http://bazaar.launchpad.net/~tim-alwaysreformed/mod-sloganator/trunk/revision/16/mod_sloganator.php?remember=13&compare_revid=15

Revision history for this message
Tim Black (tim-alwaysreformed) said :
#4

I implemented the new features that were requested.

Can you help with this problem?

Provide an answer of your own, or ask Roy Thomas for more information if necessary.

To post a message you must log in.