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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Stuck on one pageStuck on one page
Previous
 
Next
New Post
8/2/2011 5:10 AM
 
Hi guys, Im only new to html coding and as a project my lecturer wanted me to create a tutorial for his website. the Html coding has and external javascript file and CSS file linked. when i try the website offline (running the simulation) it works fine. but once i upload it to the dotnetnuke website the next button seems to be stuck on the first page.heres the website:http://www.networkengineering.org.au/Tutorials/Simulator/tabid/148/Default.aspxheres a sample of my coding:<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><link rel="stylesheet" type="text/css" href="/Portals/0/Simulator/OSI/mystyle.css" /><script type="text/javascript" src="/Portals/0/Simulator/OSI/jscript.js"></script></head><body><header></header><!--selecting multiplexing style--><nav><table><tr><td><form action="../cgi-bin/redirect.pl" method="POST" onsubmit="return dropdown(this.gourl)"><select name="gourl"><option>Select Simulations.....<option value="OSI.html">7 OSI Layer</select><input type="submit" value="Go" /></form></td><td id="right_nav"></td></tr></table></nav><!------------------------Intro-------------------------><div id="main1"><div ><table id="maincanvas"<tr><td id="nextback"><input type="image" src="/Portals/0/Simulator/OSI/backf.png" /></td><td><!--Pagecontent--><div id="middle"><p style="height: 90px"></p><div id="fade2" style="font-size:70px; color:Gray">OSI Simulation</div><div id="fade2" style="font-size:20px; color:Gray">The Seven Layers of OSI</div><div style="margin-left:550px" id="ifade">Click to Continue <img src="/Portals/0/Simulator/OSI/rhand.png" /></div><p style="height:140px"></p><div style="font-size:12px"><b>Disclaimer: </b>This simulator is still in the active stages of development. To enjoy the full experienceof this simulator, please download the newest version of <a href="http://www.google.com/chrome/">Google Chrome</a> and enable javascript.<br /></div><div style="font-size:12px; margin-left:650">beta 1.0</div></div></td><td id="nextback"><input type="image" src="/Portals/0/Simulator/OSI/next.png" class="zoom" onclick="displayNext(2)" /></td></tr></table></div></div>i use an external javascript filefunction displayNext(newPage) {var newString = "main" + newPage;var oldString = "main" + (newPage - 1);document.getElementById(newString).style.display = "block";document.getElementById(oldString).style.display = "none";}
 
New Post
8/2/2011 5:26 AM
 
Because DotNetNuke is built on top of ASP.NET web forms, there is always 1 form already defined in every page. Since nesting form tags is not allowed, and will not work, you cannot use form tags inside a html module, you will have to come up with a different solution to your problem...

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Stuck on one pageStuck on one page


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