Jump to content


  • Posts

  • Joined

  • Last visited

adelatrifan's Achievements


Newbie (1/7)



  1. Hi Guys,I have to fix an action script bug today for a client and I don't know how!The link to the website is :http://www.cueball.com/cueball.html. If you go in the People > Team section, and you click on one of the pictures, a navigator will appear at the bottom of the page. Now, if you click once on one dot it will bring you up a new page, and the small thumbnail (top right) corresponding to that page will be highlighted. Which is great! But if you click again on the same dot it will bring up again the same page, BUT the next small thumbnail at top of pages is highlighted - which shouldn't happen! If I click once again on the dot the right thumbnail is highlighted once again!!!!!!!Please help me fix the code!function pageLoad(page) { var page = page.substring(0, page.indexOf("_")); _root.gotoAndPlay(page); trace("PAGE = " + page); var pgNum = Number(page.substr(1)); trace("pgNum = " + pgNum); for (var i=1; i<=_root.ttlPgs; i++) { dot = eval('p'+i); if (i == pgNum) { dot.gotoAndPlay("on"); } else { dot.gotoAndPlay("off"); } } if (pgNum == 1) { prvArrow.gotoAndPlay("off"); } else { prvArrow.gotoAndPlay("on"); } if (pgNum == _root.ttlPgs) { nxtArrow.gotoAndPlay("off"); } else { nxtArrow.gotoAndPlay("on"); }};
  2. Thanks guys, I solved the problem! I had a sing-in form in the header, I took that out and now it looks perfect!!!
  3. Hi,Thanks, but actually the blue border on top should be there (the blue horizontal lines are a background image), it's only that on my Mac all the content on all pages except the homepage( logo, text, menu text) is pushed down, so for example the brown background for Advanced Search overlaps the horizontal menu bar and the text that should appear o the blue menu bar appears under the bar...I'll take a look at the wrapper css:#wrapper { position: relative; width: 100%; height: 100%; }T
  4. Hi,The body already has margin 0. And the problem with this margin on top it displays only on Firefox on Mac,here is the url:http://preview1.artaffairs.com/watermart/Home.aspxThanks!
  5. Hi,It already has the margin 0.I think the simplest way to go is to write a code only for Firefox on MAC and put the margin -25px, is that possible? Like for example this code, but specifically for MAC:/* for Mozilla/Safari */ *>#container { padding-top: 0px; }/* //for Mozilla/Safari */
  6. HI,Yes, there is more code:<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Watermart</title> <meta name="Author" content="© 2006 - Web Affairs" /> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" /> <link rel="StyleSheet" href="css/main.css" /> <script type="text/javascript" src="js/main.js"></script></head><body runat="server" id="body"><div id="wrapper"> <div id="container"> <div id="header"> <a href="Home.aspx" style="text-decoration:none;"><h1 title="Back to home page">WaterMart</h1> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="762" height="196" align="middle" id="flash"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="flash/watermart2.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <embed src="flash/watermart2.swf" quality="high" bgcolor="#ffffff" width="762" height="196" name="watermart2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" class="flash" /> </object></a> <ul id="mainMenu"> <li><a href="NeedHelp.aspx?Categ=R">Residential Systems</a></li> <li><a href="NeedHelp.aspx?Categ=O">Office Systems</a></li> <li><a href="PartsAndAccessories.aspx" class="last">Filters, Parts & Accessories</a></li> </ul> <ul id="subMenu"> <li><a href="ShipmentTracking.aspx">Track Your Order</a></li> <li><a href="Contact.aspx">Contact Us</a></li> <li><a href="#" class="last">All About Water Systems</a></li> </ul> <form action="ClientProfile.aspx"> <div id="loginSmall" title="Login to your existing profile"> Email: <input type="text" name="email" style="margin-left:20px;"><br> Password: <input type="password" name="password"><br> <input type="submit" class="buttonSmall" value="Login to your profile"> </div> <a href="ProductsSearchAll.aspx" title="Click here to search the site" id="advSearch"> Advanced<br>Search </a> </form> </div><form id="form1" runat="server"> <div id="leftCol"> <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"/> </div> <div id="content"> <asp:contentplaceholder id="ContentPlaceHolder2" runat="server"/> </div> <div id="rightCol"> <asp:contentplaceholder id="ContentPlaceHolder3" runat="server"/> </div></form> <br style="clear: left;"> </div> <div id="footer"><div> <p class="webaffairs">Created & powered by <strong>WebAffairs</strong> - <a href="http://www.webaffairs.ca" target="_blank" title="WebAffairs - Toronto Web Design">Toronto Web Design</a></p> <p>© 2006 WaterMart. All rights reserved. | <a href="#">Privacy Policy</a></p> </div></div></div></body></html>Thanks a lot!
  7. Hi,I'm working on this website, and only in Firefox MAC the div "container" is pushed down by about 25 px ! Maybe someone can help me with a hack Firefox on MAC?Here is the html code:<body runat="server" id="body"><div id="wrapper"> <div id="container"> <div id="header">and here is the CSS for the three divs:body { background-color: #fff; font-size: 13px; font-family: Arial, Sans-Serif; color: #333; background-image: url(../img/bg_main.gif); background-repeat: repeat-x; padding: 0; margin: 0; cursor: default; }#container { display: block; margin: 0 auto; width: 785px; padding-top: 10px; position: relative; padding-bottom: 50px; }
  • Create New...