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

Forum

Subject: Itempane ThumbImage mouseover popup
Prev Next
You are not authorized to post a reply.

Author Messages
michaelc
Nuke Newbie
Nuke Newbie
Posts:3

31 Oct 2006 11:39 AM  
 

(This is not strictly speaking a skinning question, but its the closest match I could think of)

I have a module that I want to customize so that each image in a list of images, when moused over generates a floating enlarged version of the same image (e.g. a list of thumbnails which when moused over show a full size image). I know how to do this in pure HTML and Javascript, the challenge is that I only have access to the ASCX file of the module (no source code) and the ASP.NET code is rendering the images using asp:HyperLink controls withn an aspataGrid !

The Javascript I would normally use uses document.getElementById or document.getElementsByName to find the <IMG> then sets the SRC property of my floating image.

Here's where the problem starts:

The list of images is created by an aspataGrid control. Each image is created by an asp:Hyperlink control, like this:

 

<asp:HyperLink Runat="server" id="hypgridmoreinfo" name="hypgridmoreinfo" Runat="server" BorderWidth="0" onmouseover="return enlarge(event,'center', 730, 740)"/></TD>

This causes 2 problems:

  1. The resulting HTML looks like this

    <a id="dnn_ctr1691_ProductPage_grdProducts__ctl2_hypgridmoreinfo" name="hypgridmoreinfo" onmouseover="return enlarge(event,'center', 730, 740)" href="/CriteriaInc/tabid/163/CategoryID/0/List/1/Level/a/ProductID/4/Default.aspx" style="border-width:0px;">

    <IMG src="/portals/1/image1.gif" align="" border="0">
    </a>

    ... so the IMG I need to retrieve the SRC of has no ID and no NAME either, so how to reference it?

  2. If I could somehow reference the IMG via the <A> link, the ID has been "transformed" by DNN into a different ID than the one specified in the ASCX. The NAME has been preserved but will be the same for every image in the list.

So, is there a solution? Remember I need a solution that only involves altering the ASCX file of the module!

You are not authorized to post a reply.
Forums > DotNetNuke® > Quick Tips > Itempane ThumbImage mouseover popup



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