You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 26-05-2014 20:06:48

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Using the tile "slideshow" can I add links based on the presented img?

Is there a way to have "clickable" or embedded html in the text strings so that I can have links to other pages?

example....

$tile[] = array("type"=>"slideshow",
                "group"=>0,
                "x"=>2,
                "y"=>0,
                "width"=>3,
                "height"=>2,
                "background"=>"#444",
                "url"=>"",       
"images"=>array("images/slide05.jpg","images/slide03.jpg","images/slide01.jpg","images/slide04.jpg","images/slide02.jpg"),
    "effect"=>"random",
    "speed"=>8000,
    "arrows"=>false,
    "texts"=>array("<h4>Link 1 <a href='somelink1.php'>click here</a></h4></br>","<h4>Link 2 <a href='somelink2.php'>click here</a></h4>","<h4>Link 3<a href='somelink3.php'>click here</a></h4>", "<h4>Link 4<a href='somelink4.php'>click here</a></h4>","<h4>Link 5<a href='somelink5.php'>click here</a></h4>"),
    "labelText"=>"","labelColor"=>"#FF8000","labelPosition"=>"top",
    "classes"=>"noClick");


The above does not currently work....

Offline

#2 27-05-2014 00:51:05

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Re: Using the tile "slideshow" can I add links based on the presented img?

Thomas,

I should have read your prior answer to this question.   I found this thread:
http://metro-webdesign.info/forum/viewtopic.php?id=249

I will try your patch.

rs

Offline

Board footer

Powered by FluxBB