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: style search CSS or XML by mmcinulty
Hi Leei was able to replicate the mouse over affect by using the css, the problem is that i still ha...
RE: News Feed from DNN Blog by aggiedan97
Still no luck with this feed. I can get both of these links to render if pasted in Internet Explore...
RE: Regular restores to local machine by joannew
Hello Lee, Thanks for the info, I tried restarting the application but it had no effect. Is there...
RE: menu in dotnetnuke by leesykes
The page URL option does not have the option to open links in a new window, they will always open in...
RE: Only registered users can access some parts of the module by leesykes
thanks for posting info,
RE: Blog Module on 4.8.4 by leesykes
I just tested the comments in DNN 4.8.4 and blog 3.4.0 and they work ok.Go to the blog list module s...
RE: File Manager Upload (intermittent error) by leesykes
It sounds as though you do not have permission to upload js files using the file manager. To check t...
RE: News Feeds (RSS) module 4.0 ? by leesykes
It works in exactly the same way. Go to 'edit newsfeed' - enter the RSS URL for the newsfeed source ...
RE: style search CSS or XML by leesykes
The CSS code for that skin is:#dnn_dnnSEARCH_txtSearch    { height:16px; position:absolute; top:4px;...
RE: News Feed from DNN Blog by leesykes
Hello,I tested with blog module 3.04.00 and News Feeds 3.01.01It should work, can you display other ...
RE: Query Regarding search fuctionality by leesykes
You can contact venexus direct for any questions regarding their modules,
RE: Query Regarding search fuctionality by kaustav_kar
Thanks for your help. Could you please tell me how to configure it?
RE: Only registered users can access some parts of the module by nukedoubt
Solution Obtained !!!!!!!Follow the steps :To Checked In login mode as registered users or not - Do...
RE: Blog Module on 4.8.4 by bryan_homey
03.04.00 Thanks Bryan
RE: Repository template: YouTube by bryan_homey
Thanks!
RE: File Manager Upload (intermittent error) by dnnmq
banner_rotator.js is only 3KB.  This behavior was reported after we upgraded from 4.3.4 to 4.8.3.Bef...
RE: templates and modules by mmcinulty
Hi Bocheck back to issue 24 for info about page templates.about your other issue with modules login ...
templates and modules by cyborama
Hello Lee and Joe,My first question deals with templates.  I noticed in dotnetnuke apparently you ca...
News Feeds (RSS) module 4.0 ? by wolmar
I had some trouble with the old NewsFeeds module (the one coverd in tutorial) so i figured i'd insta...
style search CSS or XML by mmcinulty
CSS an XMLi was looking back at issue 29 about search styling. there was a skin i seen www.dnnskin.n...
AppTheory
RSS Feeds