Closed (fixed)
Project:
Danland
Version:
6.x-1.10
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2010 at 23:34 UTC
Updated:
19 Oct 2010 at 14:06 UTC
Great theme, really appreciate the effort.
I'm working on a site using Danland as the basis & I'd like to include some text on each banner image that is then a hyperlink through to different pages on the site. Any suggestions of how to do it?
I know that the preface blocks can be used to place text on the banner image, but that only loads when the page loads, not each time the image changes. Is there a way of linking those?
Comments
Comment #1
danpros commentedHi,
You can try the following code
Comment #2
Dubber Dan commentedOh yeah, that was obvious! Thanks Dan.
Would it be fairly simple to replace the current banner that's hardcoded in, to use a rotator/slider module (http://drupal.org/node/418616) instead?
Comment #3
danpros commentedGlad I can help :)
Of course you can do that, try creating your own slideshow using the modules you choose and replace the current slideshow.
Comment #4
danpros commentedThe problems is solved. I'm gonna close this.
Thanks,
Comment #5
michaelway commentedI get a delay between images with IE when I add a link to the images. Firefox and chrome work just fine. Any ideas?
Comment #6
oemer commentedI also get a delay between images with IE 8 when I add a link to the images.
Comment #7
danpros commentedHi,
What version you are using 2.x?
Try change the script to this in page-front.tpl.php
Comment #8
oemer commentedHi,
I'm using the latest version 6.x-2.0.
I replaced the script with yours, cleared cache, no change.
URL:
http://www.guppy-online.com/guppyfarm
Regards
Oemer
Comment #9
danpros commentedHi Oemer,
Its strange behavior in IE8.
How about wrap the
<a>tag with<div>like this:Comment #10
oemer commentedHi Dan,
nope. Doesn't have any effect... :(
Ömer