Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need testers for the magazine affiliates
Message
De
17/01/2006 03:51:50
 
 
À
13/01/2006 18:48:53
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01086761
Message ID:
01087435
Vues:
20
For those who might be interested in the issue of DNN, it is really simple. The script works as is but you just need to insert it in HTML and not Design. HTML is for pure text which is not the case here as this is javascript. So, when inserted in HTML, the script will remain as is.

As DNN has its own framework layout and mostly centered, it is better to blank the LevelExtremeBannerStyle variable and add a small javascript line before and after the insertion of the BannerCoverPage.js, by the use of document.write, in order to have it centered.

Basically, the code could look like this:
<SCRIPT>
LevelExtremeBannerStyle=""
LevelExtremeUserID=""
LevelExtremeTarget="_self"
</SCRIPT>

<SCRIPT>
document.write("<CENTER>")
</SCRIPT>

<SCRIPT language=JavaScript src="http://www.utmag.com/Javascript/BannerCoverPage.js"></SCRIPT>

<SCRIPT>
document.write("</CENTER>")
</SCRIPT>
If you have full control over the HTML page, which means no tool such as DNN, you can simply do this if you want to center the image:
<SCRIPT>
LevelExtremeBannerStyle=""
LevelExtremeUserID=""
LevelExtremeTarget="_self"
</SCRIPT>

<CENTER>
<SCRIPT language=JavaScript src="http://www.utmag.com/Javascript/BannerCoverPage.js"></SCRIPT>
</CENTER>
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform