R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
How to build links to Wedjet
Last Post 01 Jan 1900 05:00 AM by . 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
gbrownUser is Offline
New Member
New Member
Posts:29

--
29 Jul 2007 12:52 AM  
A couple of WedJet questions:

I have 7 or 8 icons in an html/text module. I would like to create links that would pop up a WedJet contained module. The modules inside these WedJet containers would be a mixture of modules but none of them would be ListX. What should the link look like to do this?

Second question - I'd like to make it so when you clicked on the icon to bring up that module, the previous module that is currently open would close. How could I do this?

Any help would be greatly appreciated!!

Thanks

Greg
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
02 Aug 2007 04:36 PM  
Greg,

all you have to do is just call

openfloating(id) and closefloating(id) since it is a open source you can change the code the way you wanted.

Example:

<a onclick="openfloating('dnn_ctr123'); return false;" href="/Default.aspx#">Click here for <strong>Recent</strong> <strong>News</strong></a>


in this case 123 is your ModuleID
Durga Prasad(DP) | Senior Web Engineer<br>R2integrated
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
10 Aug 2007 12:45 AM  
Just to add or maybe get the second part of your question, unless you wrote a function to close all the other wedjets except the one you were opening, you would have to do this, unless you have some other way(like setting a session variable) of knowing what wedjet was currently open. Assuming 4 static links....

onclick="closefloating('dnn_ctr1');closefloating('dnn_ctr2');closefloating('dnn_ctr3');openfloating('dnn_ctr4');"
ListX....makes you look brilliant, even though you're not.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share