Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...html module javascript popup failshtml module javascript popup fails
Previous
 
Next
New Post
9/3/2012 10:34 AM
 

I am using Amazon's product links (https://affiliate-program.amazon.com/gp/associates/network/build-links/individual/main.html) in a DNN module.

This requires putting the product link in one modle with, e.g., the following code:

<a href="http://www.amazon.com/gp/product/B0090EHVMC/ref=as_li_tf_il?ie=UTF8&camp=1789&creative=9325&creativeASIN=B0090EHVMC&linkCode=as2&tag=wwwinscitecom-20"><img border="0" src="http://ws.assoc-amazon.com/widgets/q?_encoding=UTF8&ASIN=B0090EHVMC&Format=_SL160_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=wwwinscitecom-20" ></a><img src="http://www.assoc-amazon.com/e/ir?t=wwwinscitecom-20&l=as2&o=1&a=B0090EHVMC" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

Then adding the following code in a module that occurs at the end of the page (To put Product Previews on your site, paste the following link enhancer script at the end of pages on which you have image only or text only product links. The code should go after your content and before your closing <body> tag. Hover your mouse over the product link to see this popup feature.)

<script type="text/javascript" src="http://wms.assoc-amazon.com/20070822/US/js/link-enhancer-common.js?tag=wwwinscitecom-20">
</script>
<noscript>
    <img src="http://wms.assoc-amazon.com/20070822/US/img/noscript.gif?tag=wwwinscitecom-20" alt="" />
</noscript>

PROBLEM: The popups appear, but they appear behind other content on the page, and they appear for only a second or so. Is this an issue with DNN? If so, how do I correct it?

(Yes, the scripts work, because I unchecked the 'Remove Scripts' box in the HTML Module Editor setup.

Thanks.


 

 
New Post
9/3/2012 2:45 PM
 

I should amend this post with correct terminology. The scripts provide for a 'preview' (small popup window) during a 'rollover' or 'mouse over'.

I also found that I can put the amazon product links in a HTML module, then the script that gives the preview rollover effect in the footer of the same module. So, don't need to do two modules for this.

But, I still have the problem in IE9 that the popup appears behind other stuff on the page and the popup disappears after just a second or so. In Chrome, the popup stayed, but still appeared under stuff.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...html module javascript popup failshtml module javascript popup fails


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out