-
Posts
10306 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Gallery
Everything posted by Dan6061
-
The bike on eBay has no brakes...
-
Ok, I'm just going to recode it in Dreamweaver. As the code I have there ^^ isn't working so...Anyone know how to get that Cascademenu in DW?
-
I've copied and pasted it all into DW, and saved the 'cascademenu' files etc..but it's really fecked up. It looks nothing like how it is at school And none of the menu things are showing, so when I hover the mouse over one, nothing happens, when usually the list will drop And I don't know why I have random bits everywhere, I'm shite at coding on Notepad
-
Cascade menu.js: function InitMenu() { var bar = menuBar.children for(var i=0;i < bar.length;i++) { var menu=eval(bar[i].menu) menu.style.visibility = "hidden" bar[i].onmouseover = new Function("ShowMenu("+bar[i].id+")") var Items = menu.children for(var j=0; j<Items.length; j++) { var menuItem = eval(Items[j].id) if(menuItem.menu != null) { menuItem.innerHTML += "<Span Id="+menuItem.id+"_Arrow class='Arrow'>4</Span>" //var tmp = eval(menuItem.id+"_Arrow") // tmp.style.pixelLeft = menu.getBoundingClientRect().Right //- tmp.offsetWidth - 15 FindSubMenu(menuItem.menu)} if(menuItem.cmd != null) { menuItem.onclick = new Function("Do("+menuItem.id+")") } menuItem.onmouseover = new Function("highlight("+Items[j].id+")") } } } function FindSubMenu(subMenu) { var menu=eval(subMenu) var Items = menu.children for(var j=0; j<Items.length; j++) { menu.style.visibility = "hidden" var menuItem = eval(Items[j].id) if(menuItem.menu!= null) { menuItem.innerHTML += "<Span Id="+menuItem.id+"_Arrow class='Arrow'>4</Span>" // var tmp = eval(menuItem.id+"_Arrow") //tmp.style.pixelLeft = 35 //menuItem.getBoundingClientRect().right - tmp.offsetWidth - 15 FindSubMenu(menuItem.menu) } if(menuItem.cmd != null) { menuItem.onclick = new Function("Do("+menuItem.id+")") } menuItem.onmouseover = new Function("highlight("+Items[j].id+")") } } function ShowMenu(obj) { HideMenu(menuBar) var menu = eval(obj.menu) var bar = eval(obj.id) bar.className="barOver" menu.style.visibility = "visible" menu.style.pixelTop = obj.getBoundingClientRect().top + obj.offsetHeight + Bdy.scrollTop menu.style.pixelLeft = obj.getBoundingClientRect().left + Bdy.scrollLeft } function highlight(obj) { var PElement = eval(obj.parentElement.id) if(PElement.hasChildNodes() == true) { var Elements = PElement.children for(var i=0;i<Elements.length;i++) { TE = eval(Elements[i].id) TE.className = "menuItem" } } obj.className="ItemMouseOver" window.defaultStatus = obj.title ShowSubMenu(obj) } function Do(obj) { var cmd = eval(obj).cmd window.navigate(cmd) } function HideMenu(obj) { if(obj.hasChildNodes()==true) { var child = obj.children for(var j =0;j<child.length;j++) { if (child[j].className=="barOver") {var bar = eval(child[j].id) bar.className="Bar"} if(child[j].menu != null) { var childMenu = eval(child[j].menu) if(childMenu.hasChildNodes()==true) HideMenu(childMenu) childMenu.style.visibility = "hidden" } } } } function ShowSubMenu(obj) { PMenu = eval(obj.parentElement.id) HideMenu(PMenu) if(obj.menu != null) { var menu = eval(obj.menu) menu.style.visibility = "visible" menu.style.pixelTop = obj.getBoundingClientRect().top + Bdy.scrollTop menu.style.pixelLeft = obj.getBoundingClientRect().right + Bdy.scrollLeft if(menu.getBoundingClientRect().right > window.screen.availWidth ) menu.style.pixelLeft = obj.getBoundingClientRect().left - menu.offsetWidth } } I'm at home now, going to code it all out on Dreamweaver. But will still need the help I'll post up the new code once i'm done if anyone wants...
-
Yeah thinking about it, sounds a lot more lesshassle. Hmm...So now I need a box for all the info etc to go into. Like where the iFrame is, but no an iFrame...If you get me? By the way, the javascript code at the bottom is to disable right clicking. Found it on a javascript website, so though I might use it <script language="Javascript1.2"> am = "This function has been disabled."; bV = parseInt(navigator.appVersion) bNS = navigator.appName=="Netscape" bIE = navigator.appName=="Microsoft Internet Explorer" function nrc(e) { if (bNS && e.which > 1){ alert(am) return false } else if (bIE && (event.button >1)) { alert(am) return false; } } document.onmousedown = nrc; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (bNS && bV<5) window.onmousedown = nrc; </script>
-
It's not actually online, all saved onto the computer. Apart from the images, because the computer was being a pain trying to direct it to the image file Danny: I'm using the iframe becuase I thought it'd be easier, so all the pages just load up in that, instead of loading up a whole new page. Unless there's an easier way...
-
Sorry, I'm a bit confused by all the php stuff here's my code so far... <html> <head> <link href="CascadeMenu.css" rel="stylesheet"> <script language="javascript" src="CascadeMenu.js"> </script> </HEAD> <body> <BODY OnLoad="InitMenu()" Onclick="HideMenu(menuBar)" ID="Bdy" bgColor=aliceblue> <title>www.Trials-Shop.co.uk</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body background="[url="http://img226.imageshack.us/img226/4162/background8yq.jpg"]http://img226.imageshack.us/img226/4162/background8yq.jpg[/url]"> <div align="center"> <table> <tr> <td colspan="2" id="header"> <!--No Content Header --> </td> </tr> <tr> <img src="[url="http://img218.imageshack.us/img218/1442/logojpg6sf.png"]http://img218.imageshack.us/img218/1442/logojpg6sf.png[/url]" ALT="Trials-Shop" border="1"> <DIV Id="menuBar" class="menuBar" > <DIV Id="Bar1" class="Bar" menu="menu1">Navigation</DIV> <DIV Id="Bar2" class="Bar" menu="menu2">Complete Bikes</DIV> <DIV Id="Bar3" class="Bar" menu="menu7">Drivechain</DIV> <DIV Id="Bar4" class="Bar" menu="menu8">Wheels</DIV> <DIV Id="Bar5" class="Bar" menu="menu11">Steering</DIV> <DIV Id="Bar6" class="Bar" menu="menu14">Frames</DIV> <DIV Id="Bar7" class="Bar" menu="menu15">Braking</DIV> </DIV> <!--MenuItem Definition --> <div Id="menu1" class="menu" > <div Id="menuItem1_1" class="menuItem" title="Home" cmd="H:\I.T Folder\G.C.S.E\Trials-Shop\Website\index.html">Home</div> <div Id="menuItem1_2" class="menuItem" title="About" cmd="H:\I.T Folder\G.C.S.E\Trials-Shop\Website\about.html">About</div> <div Id="menuItem1_3" class="menuItem" title="Order Info" cmd="H:\I.T Folder\G.C.S.E\Trials-Shop\Website\orderinfo.html">Order Info</div> <div Id="menuItem1_4" class="menuItem" title="Payment Info" cmd="H:\I.T Folder\G.C.S.E\Trials-Shop\Website\paymentinfo.html">Payment Info</div> <div Id="menuItem1_5" class="menuItem" title="Postage" cmd="H:\I.T Folder\G.C.S.E\Trials-Shop\Website\postage.html">Postage</div> <div Id="menuItem1_6" class="menuItem" title="Refunds" cmd="H:\I.T Folder\G.C.S.E\Trials-Shop\Website\refunds.html">Refunds</div> </div> </div> <div Id="menu2" class="menu"> <div Id="menuItem2_1" class="menuItem" menu="menu3">Onza</div> </div> <div Id="menu3" class="menu"> <div Id="menuItem3_1" class="menuItem" menu="menu4">Mod</div> <div Id="menuItem3_2" class="menuItem" menu="menu5">24"</div> <div Id="menuItem3_3" class="menuItem" menu="menu6">Stock</div> </div> <div Id="menu4" class="menu"> <div Id="menuItem4_1" class="menuItem">T-Vee</div> <div Id="menuItem4_2" class="menuItem">T-Bird</div> <div Id="menuItem4_3" class="menuItem">T-Pro</div> <div Id="menuItem4_4" class="menuItem">T-Mag</div> </div> <div id="menu5" class="menu"> <div Id="menuItem5_1" class="menuItem">Zoot</div> </div> <div id="menu6" class="menu"> <div Id="menuItem6_1" class="menuItem">T-Raptor</div> <div Id="menuItem6_2" class="menuItem">T-Rex</div> <div Id="menuItem6_3" class="menuItem">Woodstock</div> </div> <div id="menu7" class="menu"> <div Id="menuItem7_1" class="menuItem">Cranks</div> <div Id="menuItem7_2" class="menuItem">Chainrings</div> <div Id="menuItem7_3" class="menuItem">Chains</div> <div Id="menuItem7_4" class="menuItem">Cogs</div> <div Id="menuItem7_5" class="menuItem">Pedals</div> </div> <div id="menu8" class="menu"> <div Id="menuItem8_1" class="menuItem">Built</div> <div Id="menuItem8_2" class="menuItem">Custom Build</div> <div Id="menuItem8_3" class="menuItem" menu="menu9">Rims</div> <div Id="menuItem8_4" class="menuItem" menu="menu10">Hubs</div> </div> <div id="menu9" class="menu"> <div Id="menuItem9_1" class="menuItem">Mod</div> <div Id="menuItem9_2" class="menuItem">24"</div> <div Id="menuItem9_3" class="menuItem">Stock</div> </div> <div id="menu10" class="menu"> <div Id="menuItem10_1" class="menuItem">Front</div> <div Id="menuItem10_2" class="menuItem">Rear</div> </div> <div id="menu11" class="menu"> <div Id="menuItem11_1" class="menuItem">Handlebars</div> <div Id="menuItem11_2" class="menuItem" menu="menu12">Stems</div> <div Id="menuItem11_3" class="menuItem" menu="menu13">Forks</div> </div> <div id="menu12" class="menu"> <div Id="menuItem12_1" class="menuItem">Mod</div> <div Id="menuItem12_2" class="menuItem">Stock/24"</div> </div> <div id="menu13" class="menu"> <div Id="menuItem13_1" class="menuItem">Mod</div> <div Id="menuItem13_2" class="menuItem">Stock/24"</div> </div> <div id="menu14" class="menu"> <div Id="menuItem14_1" class="menuItem">Mod</div> <div Id="menuItem14_2" class="menuItem">24"</div> <div Id="menuItem14_3" class="menuItem">Stock</div> </div> <div id="menu15" class="menu"> <div Id="menuItem15_1" class="menuItem" menu="menu16">Disc Brakes</div> <div Id="menuItem15_2" class="menuItem" menu="menu17">Rim Brakes</div> </div> <div id="menu16" class="menu"> <div Id="menuItem16_1" class="menuItem">Mechanical</div> <div Id="menuItem16_2" class="menuItem">Hydraulic</div> </div> <div id="menu17" class="menu"> <div Id="menuItem17_1" class="menuItem">Mechanical</div> <div Id="menuItem17_2" class="menuItem">Hydraulic</div> </div> </div><!-- End of Menu --> <CENTER> <!-- Main Scrolling Content Frame PHP --> <div id="content"> <style type="text/css"> <!-- .style1 {font-size: medium; font-weight: bold; } .style2 {color: #FF0000} --> </style> <div align="bottom"> <table width="700" border="0"> <tr> <div align="center"> </tr> </table> <CENTER> </div> </body> </html> <script language="Javascript1.2"> am = "This function has been disabled."; bV = parseInt(navigator.appVersion) bNS = navigator.appName=="Netscape" bIE = navigator.appName=="Microsoft Internet Explorer" function nrc(e) { if (bNS && e.which > 1){ alert(am) return false } else if (bIE && (event.button >1)) { alert(am) return false; } } document.onmousedown = nrc; if (document.layers) window.captureEvents(Event.MOUSEDOWN); if (bNS && bV<5) window.onmousedown = nrc; </script> <IFRAME SRC="index-text.html" WIDTH=700 HEIGHT=390> If you can see this, your browser doesn't understand IFRAME. However, we'll still <A HREF="index-text.html">link</A> you to the file. </IFRAME>
-
Using straight code - Notepad. My school isn't cool enough for Dreamweaver If someone could type out the code for it, so I could edit it into my coding.... Just need a code to follow...
-
For my GCSE IT coursework, I'm making a Trials-Shop Got this for the website so far (The iFrame bit isn't actually on the website) I've just finished the navigation bar, and want all the links to open in the iFrame, instead of in a new page. How? Cheers
-
When my alarm worked..it was like... BEEP BEEP BEEP BEEP BEEP BEEP so loud, you could hear it outside. And it kept going until I switched it off...worked well But soo facking loud! brilliant
-
Any pics of them? Spec etc? Really sorry to hear about that, I know the felling. Hope this one turns out aswell as mine did
-
Cameras on phones? I know what you mean
-
My dad told me some companys don't even check for your GCSEs etc. So it could be done, but farrrrr too risky I wouldn't advise it.
-
Plazmatics on a grind. Lovely. Others will say either the same, or Koxx Blox Browns on a grind, or Zoo pads on a smooth rim
-
It's not exactly a rip off if you think about it.. There's the labour, and the price of the weld. Maybe a tad cheaper would be better, but still worth it
-
Seats at quite an angle..
-
Police officer: How old are you? Me: 15... Police officer: You should be on the road then! Me: Is this bike road legal? Police officer: erm...no... Me: Also, bikes that have 20" wheels and below should not be ridden on the roads Police officer: oh... seemed the best place to post that...
-
Mine do that. Think it's just the coating. Nothing to worry about. Just wipe it off
-
Cones loose? That's if they're unsealed... A new wheelset shouldn't have loose spokes though errrrm.....
-
I'm not too keen on using tar, as the pads sometimes stick to the rim
-
He already has a Echo stem
-
I have a Zona with Echo team stem and Zoo bars...If that counts Noice
-
Coco Pops... Chocolate CrunchyNut Clusters...until they get real soggy
-
Sooo Tartybikes You Can Remove A Maxxis Ona Koxx Rim With Ur Fingers
Dan6061 replied to Davetrials's topic in Trials Chat
I always thought my Creepy Crawler on a standard Onza rim was hard to get off... Until I tried getting an Onza Luna off an Onza rim Was seriously hard, used a motorbike tyre lever, and dented the rim! Thought I might say that here