You need to Register for free and Login to post a message in the forum.

Forum

Subject: image rollover problem (Other posts failed)
Prev Next
You are not authorized to post a reply.

Author Messages
sjennings
Nuke Active Member
Nuke Active Member
Posts:32

28 Dec 2006 12:07 PM  
I'm making a skin with some image rollovers with the following code in the .htm file:

<img src="images/contact.gif" onmouseover="this.src='http://www.dnncreative.com/images/contact-hover.gif'" onmouseout="this.src='http://www.dnncreative.com/images/contact.gif'" alt=" Contact | " />

When I upload the skin, the line is converted in the following way:

<a href="<%= SkinPath %>#"><img src="<%= SkinPath %>images/contact.gif" onmouseover="this.src='http://www.dnncreative.com/images/contact-hover.gif'" onmouseout="this.src='http://www.dnncreative.com/images/contact.gif'" alt=" Contact | " />

I tried manually entering the skin path (not as a variable) into the skin, but dnn stripped the skin path out and left me with the same path listed above.

What I want is this:

<a href="<%= SkinPath %>#"><img src="<%= SkinPath %>images/contact.gif" onmouseover="this.src='http://www.dnncreative.com/<%= SkinPath %>images/contact-hover.gif'" onmouseout="this.src='http://www.dnncreative.com/<%= SkinPath %>images/contact.gif'" alt=" Contact | " />

Any suggestions or comments on image rollovers in skins?

Thank you for your help.
eureka
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:257

28 Dec 2006 1:14 PM  
Hello sjennings

Instead of hardcoding into your skin, have you tried inserting your image rollover code, directly into a text/html module on your page?

Lynn

www.drivewaydesign.eu For A Dream Driveway

www.a2zdom.com Domain name matters

www.seemalta.net See Magical Malta
sjennings
Nuke Active Member
Nuke Active Member
Posts:32

28 Dec 2006 1:47 PM  
Unfortunately it's not possible for what I'm doing because it goes in an area of the page that won't have a content pane. I don't want any of the users to be able to make changes to that section. I can't risk meddling unfortunately and I'm not going to be the only one with host level access.
eureka
DNN Creative Magazine Subscriber
Nuke Master
Nuke Master
Posts:257

29 Dec 2006 6:04 AM  
Hello

Have you tried creating a css class for your rollover image and assigning that class to the link in your skin. The css styles are not effected when you upload your skin, therefore the image should still rollover.

www.drivewaydesign.eu For A Dream Driveway

www.a2zdom.com Domain name matters

www.seemalta.net See Magical Malta
sjennings
Nuke Active Member
Nuke Active Member
Posts:32

29 Dec 2006 11:32 AM  
Thanks, I'll give that a shot.
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > image rollover problem (Other posts failed)



ActiveForums 3.7

Latest Forum Posts

RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
Trouble installing! Designer trying to be a Developer. by awright14
Hi Everyone,Just to let you know, I'm very new at this - very new to any type of dev environments in...
Skim Question by tlsadler
I've been going over your videos on skinning and may have missed something somewhere.Can you use the...
Include in Menu - Weird Request by nichord
I have a request from a customer that has put me at odds.  The customer has a lot of child pages to ...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
I'm also having similar issues. While the .Normal helps most of it, the H1-H6 and the TITLEs for eac...
RE: Vertical SolpartMenu by y_knight
hi ... am new in DNN and i have installed Dnn and i work fine but i have 1 think to ask why i can n...
RE: Cannot view host filespace using text/html editor by NonStopMark
Hi Joe, The problem has gone away. May have been a caching issue. Thanks for posting. DNN : ht...
Firefox Does Not Display WMV File In Media Module by johnmk777
Hi All,I can't believe I am having such a hard time finding and answer to this question.  I have see...
advice wanted convert site to DNN while keeping existing asp functionality by max2o
I am running into the issue that a client wants to redesign their site and they want content managem...
RE: Site is not opening by leesykes
from the message it is referencing php - is it a dnn site? - is asp.net applied for the site?
RE: SolPart Menu Font Color Control by leesykes
Hello,I'm not aware of any documentation at the moment. But here is a list of Nav Menu PropertiesTo ...
Site is not opening by kaustav_kar
Hi,Whenever I'm writing the url (http://tajfood.com.sa) it's showing the following error; Index of ...
RE: SolPart Menu Font Color Control by cdees
 Lee, Is there documentation, or perhaps a tutotial on activating and using Nav menu?  Where would I...
RE: EasyCGI help? by Dr Joe
I found some interesting posts on some other sites that explain some of the challenges I've been exp...
RE: Menu's, menu's, and more menu's! by roadshow41
Thanks! I'm still a bit curious about some of the other options, but I think that gives me enough c...
RE: Menu's, menu's, and more menu's! by leesykes
Hello,Yes that should be possible with snapsis, I have used snapsis CSS with flyout menus on a horiz...
RE: Menu's, menu's, and more menu's! by roadshow41
I typically end up using a hybrid of a vertical menu and a horizontal menu due to the sheer number o...
DotNetNuke SEO (Search Engine Optimization) by leesykes
Hello,I regularly get asked for tips on SEO with DotNetNuke, there are several resources available o...
RE: Menu's, menu's, and more menu's! by leesykes
Hello,If you are looking for a menu for SEO reasons, any CSS based unordered list menu will be SEO f...
DotNetNuke Modules
RSS Feeds