Jump to content

darkofman

Members
  • Posts

    15
  • Joined

  • Last visited

About darkofman

  • Birthday 04/15/1995

Previous Fields

  • Languages
    html, css,javascript,php (I am still a newbie )

Contact Methods

  • MSN
    marrounyali@hotmail.fr

Profile Information

  • Interests
    Anime-Learn languages-Invent !

darkofman's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi , I am trying to make a imageslider with javascrip so far I have this var count = 1 ;var Max= Y ;var Min= Wfunction imageslider (count) { var Image=document.getElementsById("firstimg") count=count+1; if(count>Max){ count=Min; } if(count<Min) { count=Max ; } Image.src="images/pic"+count+".jpg"; the idea is naming all the pics in my folder pic+ a number so what I am missing I believe is the delay , and I have no idea how to do that
  2. darkofman

    Nav tabs

    uh when I did it , the nav bar has dissapeared, then I deleted the positioning css and it appeared again, it seemes it has a limit now where I can move it down
  3. darkofman

    Nav tabs

    ahaa ,ill do it , thank you sense :3
  4. darkofman

    Nav tabs

    Ok , I have switched it to block and fellowed dsonesuk looks like this now , also found a tuto il w3school, if someone has the same problem check here http://www.w3schools.com/css/css_navbar.asp .search { float:right;}.nav{ list-style-type: none; margin: 0; padding: 0; overflow: hidden;}li{ float:left;}a:link, a:visited { display: block; width: 120px; height:30px; text-align: center; horizontal-align:middle; vertical-align: middle; text-decoration:none; color:black; font-family:Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif}a:hover, a:active { background-color:#5AB9FF; color:white; }
  5. darkofman

    Nav tabs

    Hi, this time Ive made my nav tabs using li and ul tags instead of the table (dsonesuk advice) <!doctype html><html><head><meta charset="utf-8"><link href="style.css" rel="stylesheet" ><title>test company website</title></head><body><div id="menu" ><form class="search"><input type="text" id="writehere"><input type="submit" id="submit" ></form><!-- nav !--><ul class="nav"><li><a href="#home">Home</a></li><li><a href="#OurProducts">Our Products</a></li><li><a href="#OurCompany">Our Company</a></li><li><a href="#ContactUs">Contact Us </a></li></ul></div></body></html> and here is the css I made for it .search { float:right;}.nav ,a ,li { display: inline; text-decoration: none; color: black; text-align:center; vertical-align: middle; }a{ height:40px;}a:hover{ background-color: #6AA2F8; color: white; } the problem is that I cant resize the tabs, I tried height/min-height on <a> , but no result, I tried the same on <li> , still no result , tried it on them both at the same time and still no result, tried it on mother class, still no result I used padding and it gave results, but the problem with padding is each nav get a different size, while I need them to be the same size,I can cheat by making some spaces in textes to make their size the same or giving each <a> an id , but I want to learn the real way
  6. Just saying, would be better if you upload it on jsclould or something , dont think that somebody going to download it
  7. first : # is only of id I believe seconde : instead of #about , use a, or give your link an id like <a href="about.html" id="yep">about</a> then use the # so its should be like this #yep { color:red; }
  8. darkofman

    Help me please

    it worked , arigato gozaimasu <3
  9. darkofman

    Help me please

    maybe I should create evry part alone and leave positioning as the last part ?
  10. darkofman

    Help me please

    I tried with 960 pixels but still the yellow bar doesn't reach the max width,I am trying to make that bar to take all the browser page width,so I tried html {max-width:960px;} and .menu { width:960px;} so it takes all the width of the browser page, but didn't work I am a failure in the positioning :'( also about the table that I used in menu tabs , should I use instead of it the <ul><li> or divs or there is another way ? I seriously tough I am ready to make a website rofl , thank you so much for the help guys
  11. darkofman

    Help me please

    hey , I am still a noob in this so , I am trying to create a website just for learning, here is the sheet that I mad so far: <!DOCTYPE html><html><head><title>Global Import</title> <link href="style.css" rel="stylesheet"> <meta charset="utf-8"></head><body><div class="menu"><div id="logo"></div><form class="search" method="get"><input id="searc" type="text" ><input type="submit" id="searchsubmit" value="" ></form><table id="menutable"><tr><td class="menutabs">Home</td><td class="menutabs">Products</td><td class="menutabs">Our company</td><td class="menutabs">Contact Us</td></tr></table><div id="thetab"></div></div><footer id="footer"></footer><script src="footer01.js"></script></body></html> html { background-color: white; width: 1200px; height: 980px; max-width: 960px; }#logo { width:250px; height:75px; background-color:white; position: relative; left: 200px; top:10px;}#searc { border-color:#D8D8D8; border-radius:100px; background-color:#DDDCDC; border-style:solid; border-width:1.5px; width:270px; height:25px; position:relative; left:130px; bottom:35px; box-shadow: inset 1.5px 1.5px 1.5px; text-align:center;}#searchsubmit { background-image:url(images/Untitled-3.jpg); repeat:no-repeat; width: 20px; height: 20px; border:none; position:relative; left:130px; bottom:32px;}.search { position:relative; left:1000px; }.menutabs{ border-width:1px; width:100px; height:30px; background-color:white; font-family: Arial, Helvetica, sans-serif; font-size: 15px; text-align: center; position:relative; left:-35%;}.menutabs:hover { background-color:#F7F27F; box-shadow: inset 1.5px 1.5px 1.5px; }#footer{ position:relative; bottom:1200px;}#menutable { position:relative; left:150px;}#thetab { height: 50px; background-color: #F7F27F; box-shadow: inset 0px 1px 0px #888888; width:100%; }.menu { width:100%;} and this is how the site looks now What I am trying to do is to have that yellow bar to be full width, also , I am trying to make the website 960 on width,also I am trying to get right of that scrool bar , I used max-width:960 on html but still didn't work
  12. darkofman

    SideBar

    oh , thank you guys,its really helpfulyes it is a menubar not a sidebar xDthank you again guys ^^
  13. darkofman

    SideBar

    yes, as you said, it is a div let me copy you a part of the javascript that was in another level for a newbie like me <script type="text/javascript">function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}</script> the thing I want learn is something like this the difference is that the one I want is my own design Thank you ill be waiting for your anwser ^^
  14. darkofman

    SideBar

    Hi! I've just started learning the javascript language, well for now I know some classes and some basic informations so,I decided to create a website with nothing, I had to learn photoshop basics, and I made my first theme design there I started learning html and css, I think I have the basics now, I have found some softwares that create a theme for you and make it into html and javascript, but since I am so into this and started to get addicted to it, I wanted to create evrything by my hands, I dont want a software which would write for me So I found my way untill the sidebar , after I made some research at google, I found how to make a sidebar with DreamWeaver, I decided to create one there and give a look at the javascript that I would get from it, Ofcourse I will not use it, since it is not my hand made,I tried to get the idea how to write one from it , but it was in another level since I am a newbie If anyone can help me with some advices or with showing me the way I must go through , please dont hesitate I hope I am posting in the right section of the forum thank you in advance P.S: ill be waiting for anwsers
×
×
  • Create New...