Viewing Master Pages & Java Scripts not previewing or rendering properly
Master Pages & Java Scripts not previewing or rendering properly
|
User: Patrick B. 12 years ago
|
|
|
As I am recreating our current site, built in iWeb 3.0.2, in EverWeb 1.3, and I'm using two master pages (one for home and one for interior pages), my basic dhtml/java based scripts (Ajax) that have been getting the job done in iWeb for many years for our advertisement content gliders are not previewing in the application and render with big errors. Any ideas? Here is the original site as it's posted: ]LRKidsDirectory.com Here is the test site in EverWeb 1.3: ]LRKidsDirectory Test Site The script is located here: ]glider java script The following is the dHTML that is placed for that script... it won't let me paste the code here :( Last edit 12 years ago |
|
|
User: Patrick B. 12 years ago
|
|
|
Still won't let me attach the code in a file :( ugh.
Last edit 12 years ago |
|
|
User: Paul-RAGESW 12 years ago
|
|
|
What kind of errors are you getting? The only thing that I see wrong right now with your test page is the HTML Snippet you have for the top banner (where the white block is) is just to tall. Make the height smaller and it should display properly.
------------------------------- Paul EverWeb Developer |
|
|
User: Patrick B. 12 years ago
|
|
|
Thanks for responding Paul. That upper banner is 728x90px. The strange square you see is the other banner that is placed in the content portion of the page that is 300x250px. It for some reason is rendering in the header and not next to the slider. |
|
|
User: Paul-RAGESW 12 years ago
|
|
|
Quote: That upper banner is 728x90px. The strange square you see is the other banner that is placed in the content portion of the page that is 300x250px. It for some reason is rendering in the header and not next to the slider. The problem you are having is that you have a css class called glidecontentwrapper which is setting the width/height incorrectly for the top banner, but correctly for the square banner on the right. You're using the same code for two different elements on your site and it is conflicting. It works in iWeb because the HTML Snippet in iWeb is added as a "separate page" to your website. In EverWeb it is added directly on your page. This is the better way to do it but you have to be more careful with your code. My recommendation to you is to NOT use the HTML Snippet for your banners because the appear to just be static images that don't change. You're making it too complex for what you need. Simply drop the images for those banners onto your page without the HTML Snippet. Use them as normal images in EverWeb. If you really want to use scripts for these you can check out Roddy's iFrame suggestions. Last edit 12 years ago ------------------------------- Paul EverWeb Developer |
|
|
User: Roddy 12 years ago
|
|
|
Your code is a little messed up. You shouldn't just copy snippet content directly from iWeb in most cases since, unlike iWeb, EverWeb uses proper code injection. This is where the problem lies… <div class="glidecontent" style="left: 0px; height: 252px; visibility: visible; z-index: 141;"><br /> <a href="http://www.arkansasskatium.com" target="_blank"><br /> <img src="http://lrkidsdirectory.com/banner/arkansasskatium.png" width="728" height="90" border="0" style="border:0px solid #707070;" alt="Arkansas Skatium"><br /> </a><br /> </div> The .glidecontent div has a height of 252px and no width whereas the image is 728 x 90. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
| Post Reply |
| You must login or signup to post. |
