HTML - Newbie's Javascript = No Page To See?
Thanks mates, 'twas a stupid mistake
-Chris Similar Tutorialshi all, this is my first post.. i just started learning html cause some friends asked if i could help build a website for our dancing group. Anyway, i read a bunch of stuff and decided i would use css and try to make a fluent design (you know, the concept where the page adapts to screen resolution and window size). So i used a lot of <div> with relative positioning and dimensioning (width, height and top, right etc all given as %) I also read about SSI and wanted to use one html file for all the decoration (logo, border, pics etc) and navigation and a different file for the content.. My testing server doesn't support ssi so i thought i could use <iframe> in the content file in order to call the dacoration/navigation page. All worked ok with html 4.01 transitional. Problem is (cause i use linux) i hadn't realized ie doesn't recognize position:fixed unless i use html 4.01 strict (originally i used transitional) So when i changed to strict, all browsers except google chrome screwed the appearance of the iframe with the decoration.. They seem not to recognize the height style when given as a %.. No matter what number i put, height doesn't change. If i use height a static height (given in px), all works ok, but that wouldn't adapt to window space and it won't look good (this is because decoration is based on a border, so it MUST fill the window) you can test it here users.forthnet.gr/ath/almechen/1 i have set home to use html 4.01 TRANSITIONAL so you can see what i want it to look like (works with chrome and firefox, not ie) Lessons is set to 4.01 STRICT with iframe having height:98% (this is where the problem is) (works in chrome, not ff and ie) Events is set to 4.01 STRICT with iframe having height:500px (this works but not how isn't what i really want) (works for all but not what i want) any ideas, any help? i would really appreciate hi guys, I have this code he Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <title>Under construction</title> </head> <body style="background-color:#121212"> <div style="background: url(under_construction.jpg) no-repeat center top ; height: 1024px; margin: auto;"> </div> </body> </html> the image under_construction.jpg is basically the page itself, it has a size of 1680x1024. As of right now the page doesn't adjust automatically to the users screen. Please help me change the code so that it'll adjust automatically to the user screen guys, Im hoping someone can help me out. i am a flash designer and my flash movie opens in a 1024 x 680 fixed window but my index page is html ( a page with a picture and an "enter here" button and im trying to get this jpg to fill the full horizontal width of the screen in all resolutions. it looks fine @ 1024 x 768 but of you go higher, obviously you cant make the image wider or it will distort so i think the layout will have to be sectional ( tables perhaps or divs breaking the image into sections or something). i think the jpg has to be chopped up. if you see the picture, you will get the idea. i want it to fill the width of the screen regardless of screen resolution. im not sure what to do, i need so serious design help. I know that some of you can prob do this in 5 minutes but im trying to learn. the problem is that my site is complete but i cant launch until my index page is done. i dont know what to do. im new to html but am a flash programmer. i just want a index page to launch my site but have it look ok regardless of screen resolution / size. can someone take a look at this jpg and perhaps show me what to do so that my picture will always be to the far left and the enter button / box it is in will stay to the right. I can really use some help. i am attaching my image and also an example url that shows a site where the intro page does this. the image always stays to the left and everything keeps proper postion. i really can use some helpsample_&_image.zip Hiyas, well I am trying to make an html website, and I got two things I trie to add to my page. One is a shoutbox using direct link code, and in the preview it displays fine, and works fine. Another is a teamspeak launcher I made, just a link and an image. I align one to the right the other to the left, and that works. The problem is, that the one on the right is level with the bottom of the shoutbox on the left, whereas I want them to be a part of two side columns eventually, where they are both the same length etc, not all uneven. Here is my preview page: http://i116.photobucket.com/albums/o...Untitled-1.gif I hope you see what I mean. Please help me, as I need this website online ASAP cos me and my clan are going to some tournaments and seriously need this online. Thanks in advance, Ferinos Hi Members, I have nicely developed aspx page pages in my website with very less server side coding, but every page consist of lots of JavaScript linked to it. I mean I have used almost 5 to 8 javascripy files on each pages, like javascript for calander control, time, some dropdown, dynamic menus etc, now when the page loads it don't display any contents till all the javaScript files gets downloaded and executes i guess. Its okay on broadband but it really irrites on dialup connection. any help to reduce this del;ay dure to javascript file donload time? Plz help Aloha Recently other users and I brainstormed over at PSP forums. Many users want a youtube application for the psp, but the ram and memory simply wont allow it. Many websites offer an online youtube converter but these tend to take a while to convert, as well as wanting the url for the youtube video. The psp has no copy/paste function so it makes it rather hard to re-type a url with an on screen keyboard. There is already a youtube application for hacked/homebrew psp's, but it is rather laggy, and commonly putting homebrew on your psp will cause it to brick, and un-bricking can be expensive. The psp has a web browser which allows for you to run you own local files without using an internet connection, this means that we can open a local html file without using an internet connection. The other users and I stumbled across the following article http://googlesystem.blogspot.com/200...mp4-files.html It seemed like the perfect solution, but bookmarklets don't work on the psp. So we tried executing the javascript string through a html file, but to no avail. It only loaded a blank page that was running the javascript, instead of a youtube video with a download link. When the bookmarklet is used on a computer to download the video it works fine and the video plays in perfect quality when transfered to the psp. Conclusion: We would like some aid in creating something that will accomplish the goal of running the piece of javascript code so that we can simply choose a video to watch, download it (Yes, the psp can download files to its memory stick straight through the web browser), and watch it. None of us are that experienced in the coding field and if you could help us out, it would be greatly appreciated. If you wished to simply make the whole thing yourself, go ahead. Fell free to put your name and website all over it, as long as it works. If you were to make this work your creation would be used worldwide by hundreds of thousands. You have no idea how many people want this to work. I will answer any questions you have about supported file types and such. Thank you for taking the time to read this. Hi All, Wondered if I could get some help. I have wrote a simple HTML script to create a simple Pro-Forma for cusotmers to fill out a few things. I also have a SUBMIT button that what I want it to do when clicked is automatically send the data from the form to an email address. So far I have managed to get the SUBMIT button to create an email with the email address in the to and the data in the subject. However I want it to auto send without the cusotmer seeing and also when the data is copied into the email it is just all linked together seperated by & signs. I am new to this and cant seem to get it to automatically send and wondered if anyone could help Thanks in advance Hi all, I'm new to this forum and to HTML and i have a question when i create a button in HTML how do i: A. run a function once the button is clicked on? (i want to run some exe file from my machine) B. locate the button on a specif place on the screen (ex, up,down,sides) any where on the screen an example whould be great. Thanks. Hy I'm new here and new to everything that's related to webdesign and coding so maybe I have silly questions but that's it!,and also sorry for my english - hope you will understand what I have to say. I work on this ImageCube http://keith-wood.name/imageCube.html but I would like to make it like this one http://www.cancan.ro/ with previous/next buttons and with thumbscroller. I know my question is related also to jquery but I will be pleased with the answer regarding only html too. I succeeded to make both previous/next buttons and the thumbscroller to work somehow but I can only make them functioning properly one at a time - I can't make them to function properly both in the same time. I know to make this things work only like this so if you know a better way to do it just tell me. Whatever values do I put either in html or javascript can't seems to work like it should. For example in this case like in below all thumbs and both directionButtons get the first value from document in this case "0" which is uluru.jpg.So,in another words (in this case from below) whenever I click either on whichever of the thumbs or on whichever of the directionButtons the Cube repeatedly rotate the Uluru image. I tried all kinds of variants -to put different values but in neither cases don't work well. So if you can help me I would much appreciate it,and if you have other ideas please give me the entire code because like I said I'm very new to all in this field. HTML Code: <body> <div id="directionCube" class="cube"> <img src="img/uluru.jpg" > <img src="img/islands.jpg" > <img src="img/gorge.jpg" > </div> <div id="thumbs"> <input id="direction" value="left" type="hidden"> <input id="next" value="0" type="hidden" /> <img src="1_thumb.jpg"> <input id="direction" value="left" type="hidden"> <input id="next" value="1" type="hidden" /> <img src="2_thumb.jpg"> <input id="direction" value="left" type="hidden"> <input id="next" value="2" type="hidden" /> <img src="3_thumb.jpg"> </div> <script type="text/javascript"> $('#directionCube').imagecube({direction: 'up', repeat: true, pause: 3000, shading: true}); $('#thumbs').click(function() { var cube = $('#directionCube'); var next = parseInt($('#next') .val(), 10); cube.imagecube('change', {direction: $('#direction') .val()}). imagecube('rotate', next, function() { $('#current').text($(cube.imagecube('current')).attr('title')); }); }); </script> <input id="direction" value="right" type="hidden"> <input id="next" value="" type="hidden"> <img id="directionButtonRIGHT" src="control_right.jpg"> <script type="text/javascript"> $('#directionButtonRIGHT').click(function() { var cube = $('#directionCube'); var next = parseInt($('#next').val(), 10); cube.imagecube('change', {direction: 'right' , selection: 'forward'}). imagecube('rotate', next, function() { $('#current').text($(cube.imagecube('current')).attr('title')); }); }); </script> <input id="direction" value="right" type="hidden"> <input id="next" value="" type="hidden"> <img id="directionButtonLEFT" src="control_left.jpg"> <script type="text/javascript"> $('#directionButtonLEFT').click(function() { var cube = $('#directionCube'); var next = parseInt($('#next').val(), 10); cube.imagecube('change', {direction: 'left', selection: 'backward'}). imagecube('rotate', next, function() { $('#current').text($(cube.imagecube('current')).attr('title')); }); }); </script> </body> hello all i am so happy to have found your site! I have a domain and website hosting set up with my internet provider. i downloaded filezilla. i created my website using microsoft publisher. when i try to upload it using the filezilla, i get 550 access denied. help, what am i missing???? thanks! I want to make my own web site for a computer game that I play. It will basically have custom made content for download for other users. I have an idea of how I want the site to look but I have no idea how to take it from Photoshop and actually make it my web site. I looked at the tutorials on here but I must be really computer dumb because I cant for the life of me figure it out. Is there anyone here who could help me maybe if i show them what I have created?? I cant afford for someone to make it for me but maybe someone would be nice enough to help me out?? Thanks Elaina hello all im all new to this HTML so hopefully everyone can understand me im just playing around with HTML at the moment using notepad to learn whats what but i cant find a way of putting images or tex in the middle of the screen by it self it all just stays on the left handside? can anyone explain or give me the code for it please. also if anyone knows of any good starting books or software to help me on my HTML quest cheers fixed!sdasffdf deeletete Hi everyone, i have been getting errors on validator w3 i have tried every thing i can to sort this problem out but im now lost for ideas. Here is the code i have errors on, if you need any more info please let me know <script language='javascript'>var sp_key = 'd6nz91881gggks48';</script><script type='text/javascript' src='http://www.spottt.com/js/spottt.js'></script><noscript><style type="text/css"> table.spottt_tb, table.spottt_tb tr, table.spottt_tb td, table.spottt_tb a, table.spottt_tb tr a img { margin:0; padding:0; border:none; background:none; position:static; text-decoration:none; display:block; width:125px; vertical-align:top;} .spottt_thumb, .spottt_thumb img, .spottt_thumb a, .spottt_thumb td { height:125px; } .spottt_label, .spottt_label img, .spottt_label a, .spottt_label td { height:21px;}</style><table cellspacing="0px" class="spottt_tb" id="sp_code_table_d6nz91881gggks48"><tr class="spottt_thumb"><td><a href="http://click.spottt.com/sp_click_d6nz91881gggks48.php" target="_top"><img src="http://view.spottt.com/sp_image_d6nz91881gggks48.jpg" border="0" alt="Spottt"></a></td></tr><tr class="spottt_label"><td><a href="http://home.spottt.com/sp_index_d6nz91881gggks48.php"><img src="http://view.spottt.com/sp_label_d6nz91881gggks48.jpg" border="0" alt="Spottt"></a></td></tr></table></noscript> Ok, so here's what I'd like. Any help would be greatly appreciated. I would like a url to load in 1 I would like a constant, stay on top, stay at top, follow your scroll, area where 2 is. I would like to be able to place content where 2 is. 3, I would like to be able to edit the length of the content area. 5$ via paypal for first person who helps. Thanks again. Hi All Been a reader of this site a while now and have found the info very helpful. Currently designing my own site to sell classic cars and really like the way a celebrity site shows its images. ANy idea how this is done? Heres the link... oops-we're a family-friendly place Thanks in advance Al Html email does not display image background in Outlook, Gmail, Yahoo and MSN, i am using PHP code.. the images will not appear when sitting it as a back ground in the TD. but i am sure with my file path, it will only display if being coded as <img src=images.jpg> Hello, I recently started making websites and I need a little help. I'm using adobe dream weaver cs3 and am having trouble with a few things. First, I am wanting to use a conveyor belt with images sort of thing, so I found one on the internet and am using that..but now I want to put it in front of a picture but it's not letting me..here's a picture of my screen.. http://img72.imageshack.us/img72/6222/screenvf4.jpg So that box of pictures I want to be right after the "Bayside Baptist" Any help would be appreciated..I've never posted on forums before so I don't know if you would need to see the XHTML code but if you do just ask Thanks! Shane Hi there, Im currently making a website and im afraid im pretty new to this. I am making a fairly simple site >> http://www.monk3d.com/healthcarebed3.html If you download the page, you will see I have placed the logo, links, and footers, however I dont have a space for the actual content! Im probably being stupid, but im not sure how to add a new section. I attached a diagram where the blue box shows where I need the content. I hope this is explained properly. kind regards, Rob Hi folks. I need some help with an HTML site I am trying to make, so please do me a favour and hear me out. I should add that I know some simple HTML stuff (ie. I can make simple pages no sweat), but am pretty quick on the uptake. What I am trying to do is make a HTML page to keep track of orders for my small business. The layout is pretty simple- I need to make a form where I can enter orders as they come in (simple info- cutomer name, order size, that kind of thing), and then have the form publish the order into a queue/chart of some sort. Then, I need to be able to have that published order queue somehow accessible/editable so that once an employee has finished an order, they can confirm that the order is indeed finished, as well as include notes about when it was finished, where the order is in waiting in the warehouse, etc. Finally, a page essentially the same as above, but this time to confirm shipping with notes about shipping company/time, etc. Hopefully this model came out clear, and someone can point me in the right direction of how to go about getting this started. It by no means has to be pretty- just functional. Can someone give me a brief tutorial about how to make the forms and have them publish into some kind of master queue? |