Jump to content

bobi93

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bobi93

  • Rank
    Newbie
  1. Hey,i'm now trying to make a page like a simple gallery.I want to make it show pictures,for instance, with resolution 320x240 but when you click on it to show it bigger (480x640) . How should i do this in order to open the page faster.Shall i use 2different files for that job (1pic with smaller res. and 1 with bigger) or just do it with a command that resizes the picture...I ask because i'm not sure if the browser will load faster the picture if it's just resized..
  2. Hmm that's cross.. So when i wanna use frames in every page i will have to use the frame tags to call the separate parts of the frameset...? And what about the main frame tag - i mean <frameset rows="237,*" frameborder="no"> Does it need to be in the <head> or <body> ?
  3. I don't have style in my frameset so i found and used frameborder="no" ... :)sorry... here it isAbout the frames,what must the structure of a html file (part of a frameset) be.For more info - it will be the part that will be the same in every page,i mean the menu... does it need <html> , <head> , <body> or smth else?
  4. okay that's the link to my index.html ... It would be great if you help me with it... i will even learn something new :)P.S. I tried using "noresize" and it's ok but is there any way that i can use to remove that line from the interface of the site
  5. I tried setting this to 1px but it's the same in Mozilla... nevermindI found an explanation of the use of frames and i tried using them... Is it normal for frames to visualize in the explorer a line which can be controled by the visitor...I open the html file and i can move this line where i want to...Can i change this?
  6. BG:Ами да това е сайт за едно малко магазинче Дайра ,затова а не разбрах това за вековете на кое се смееш :)UK: Yes that's a site for a small shop in my town... :(The code of the javascript menu is posted a little posts before that and you can see it.I don't know why but it looks like a little bit different in Mozilla/Opera... the last part of the menu is not in its place... can anybody tell me what should i change in the code
  7. Oh... that was a solution thankz man... If only i knew what "margin" means it would have crossed my mind to put it to 0px but... If i have more problems in the near future i will write to you again
  8. I tried that before...the img stays down again " <body> <center><img src="daira.jpg"></center><center> <ul class="main"> <li style="margin-right: 1px;"> " etc..... The quotes " " aren't included in the html file
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <center><head><center><img src="daira.jpg"></center><title>Начало</title><body bgcolor="white" text="black"><meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <style type="text/css"> body {padding: 0px; margin: 150px 0px 0px 0px;} ul.main { width: 678px; height: 150px; border: 1px solid #C1C1C1; padding: 1px; list-style-type: none; } ul.main li {float: left;} a.btn { display: block; width: 135px; height: 80px; background-color: #E5E5E5; padding-top: 70px; font-size: 10px; font-family: Verdana, Arial, serif; text-decoration: none; color: #333; } a.btn:hover {background-color: pink; color: white;} </style> <script type="text/javascript"> function changeWidth(param1, param2, param3, param4, param5) { document.getElementById('btn1').style.width=param1+"px"; document.getElementById('btn2').style.width=param2+"px"; document.getElementById('btn3').style.width=param3+"px"; document.getElementById('btn4').style.width=param4+"px"; document.getElementById('btn5').style.width=param5+"px"; } function normalWidth() { document.getElementById('btn1').style.width=135+"px"; document.getElementById('btn2').style.width=135+"px"; document.getElementById('btn3').style.width=135+"px"; document.getElementById('btn4').style.width=135+"px"; document.getElementById('btn5').style.width=135+"px";} </script> </head> <body> <center><ul class="main"> <li style="margin-right: 1px;"> <a href="index.html" class="btn" id="btn1" onmouseover="changeWidth(179, 124, 124, 123, 124);" onmouseout="normalWidth();">Начало</a> </li> <li style="margin-right: 1px;"> <a href="shop.html" class="btn" id="btn2" onmouseover="changeWidth(124, 179, 124, 123, 124);" onmouseout="normalWidth();">Магазин</a> </li> <li style="margin-right: 1px;"> <a href="stock.html" class="btn" id="btn3" onmouseover="changeWidth(124, 124, 179, 123, 124);" onmouseout="normalWidth();">Стоки</a> </li> <li style="margin-right: 1px;"> <a href="f_shui.html" class="btn" id="btn4" onmouseover="changeWidth(124, 124, 123, 179, 124);" onmouseout="normalWidth();">Фън Шуи</a> </li> <li style="margin-right: 0px;"> <a href="hot.html" class="btn" id="btn5" onmouseover="changeWidth(124, 124, 124, 123, 179);" onmouseout="normalWidth();">Горещо</a> </li> </ul> </center> <center>Добре дошли при сивото слонче с името Дайра. То носи късмет и приятни мигове на всеки, който го посети. То работи за вас.</center><!-- BEGIN Windows Media Player --><center><object id="MediaPlayer1" width=180 height=50 position"bottom"classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"standby="Loading Microsoft® Windows® Media Player components..." type="application/x-oleobject" align="middle"><param name="FileName" value="Celtic_Dream.mp3"><param name="AutoStart" value="false"><param name="ShowStatusBar" value="False"><param name="DefaultFrame" value="mainFrame"><param name="Volume" value="100"><PARAM NAME="ShowAudioControls" VALUE="True"> <PARAM NAME="ShowPositionControls" VALUE="False"><!-- BEGIN PLUG-IN HTML FOR FIREFOX--><embed type="application/x-mplayer2" pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"src="Celtic_Dream.mp3" align="middle"width=176height=144defaultframe="rightFrame"showstatusbar=false></embed><!-- END PLUG-IN HTML FOR FIREFOX--></object></center><!-- END Windows Media Player --></body> </html>
  10. Hmm... i didn't know how to post some of the files so i uploaded them on a server.The site isnt in english but u don't need to understand it. I added only the index and one more page(completely simple..) I don't know PHP but i may learn the basics. Can u give me a link with some help about making this or smth,or u will explain me ?About the music,i don't mind if it's an ancient way of making it work.I don't know what that frames are,so if u can help me with them too..it would be very nice
  11. Hello guys.That's my first post here...i hope i don't irritate anyone so...I know the basics of HTML and I'm making a simple web site.My problem is > I want to have a picture on the top center of the site(something like logo) ... When i include a java script in the html file the picture moves down and it`s not on the top (i tried removing the java script and the picture goes to its place again) Can you help me sort out this little hardship :)The other question is > I want to make something but i don't know what to search for so i can learn how to do it...So i will explain it to you.I want when i move from the different pages of the site my menu and the logo to stays loaded(i mean only the text in the middle of the website to be reloaded). Most of the sites i visit are like this.For example the menu contains this buttons : News,Music,Gallery,Downloads etc... there are commercials in the 2sides of the site and in the middle there is some text.When i move from News to Music i want the explorer to reload only the text...(that will save time when loading my page and i want when moving between pages the embeded player to continue playing without interuption..)If i stepped over any rule i want to excuse me and please let the topic exist until someone help me...thankz in advance
×
×
  • Create New...