Jump to content

real_illusions

Members
  • Posts

    1,273
  • Joined

  • Last visited

Everything posted by real_illusions

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" type="text/css" href="stylesheet.css"><script type="text/javascript" src="chromejs/chrome.js"></script></head><body><div class="outer"><div class="main"><object data="grain_tut2.swf" type="application/x-shockwave-flash" width="550" height="200"><param name="movie" value="grain_tut2.swf" /><param name="wmode" value="transparent" /></object><div id="chromemenu"><ul><li><a href="index.htm">Home</a></li><li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu1')">Contact</a></li><li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu2')">Gallery</a></li><li><a href="#">Search</a></li><li><a href="#">Site Map</a></li><li><a href="#">Links</a></li></ul></div><!--1st drop down menu --> <div id="dropmenu1" class="dropmenudiv"><a href="">contact2</a><a href="">contact2</a><a href="">contact3</a><a href="">contact4</a><a href="">contact5</a></div><!--2nd drop down menu --> <div id="dropmenu2" class="dropmenudiv" style="width: 120px;"><a href="">gallery</a><a href="">gallery2</a><a href="">gallery3</a><a href="">gallery4</a><a href="">gallery5</a></div><!--3rd anchor link and menu --> <div id="dropmenu3" class="dropmenudiv" style="width: 100px;"><a href="http://www.google.com/">Google</a><a href="http://www.yahoo.com">Yahoo</a><a href="http://www.msn.com">MSN</a></div><div class="main2"><p>Some text</p></div><div class="footer"> <br> </div></div></div></body></html> there we go:)
  2. just that one file in explorer and opera that causes it to close.the internet and other local files work on both those browsers.tried the code in another file of another name, both same folder and different folder, and it still closes.must be to do the code...but if it is, then how come firefox reads it?theres nothing in the code to do with redirect, or closing windows.
  3. i got this one website, very small, only the index page at the moment, on the computer as i'm building it from scratch.its a .htm file, so i can view it on the computer. it works fine in firefox.however, the problem comes with opera and explorer, the window automatically closes when it loads. it doesn't do this with any other file, as i've tested with other .htm files i have.its only done it today, not yesterday. last night, i ran system mechanic on the computer to help speed it up etc... has system mechanic done something that prevents opera and explorer from loading this single file? files in the same folder work.i cant work it out...
  4. you'll need a server side scripting language such as php or asp to process the email sending.the one i use on my site (see siggie) is kinda completed for a beginner, and so it'll probably baffle you as its not that easy to edit the way you want it.do a google search for "tell a friend script" and you should find a few.we can help you with setting it up, and pointing you in the right direction, but not providing complete scripts
  5. well...you cant remove the file extension which is what your asking.the url www.somewebsite.com/subfolderis the index page of that subfolder, by default it doesn't appear as thats the file a browser looks for, for the first page of any website or subfolderwww.somewebsite.com and www.somewebsite.com/index.html are exactly the same file and therefore page.www.somewebsite.com/products and www.somewebsite/products.html are different files. the one without the extension is the index file of that subfolder, where the one with .html is a page in the root directory of the main folder.hope that helps:)
  6. ok..thxi'll have to look into that in more detail some time:)
  7. i have a menu in flashhowever..it doesn't work in opera...just wondering why not.http://www.surrealillusions.co.ukit works fine in firefox and explorer.edit - ok..it seems to work now..but how come it didn't work first time? opened up opera..went to the page, didn't work..minimised the window..then opened it, and it worked..hmm..weird..also, why does explorer put a border round the flash when you move the mouse over it, but goes when you click on it? its really annoying.
  8. you could just use an online form for people to fill out and then when they send it, it sends you an email.theres loads of examples and scripts out there, do a google search for "php mailing" and you should find some.
  9. real_illusions

    Opening php

    php files can only be read on a server, not on your computer unless you have a server running on your computer.do you have a free webhost that supports php??if not, i recommend these guys - http://www.cjb.cc/
  10. interesting..thanks:)anyway to change the colour of the box or swap it for a square shaped picture?
  11. yeah..pretty much.whatever page links to the stylesheet with that in, then that style will be used for that page.
  12. i use this for my flash movies and it validates <object data="flash.swf" type="application/x-shockwave-flash" width="400" height="400"><param name="movie" value="flash.swf" /><param name="wmode" value="transparent" />alternate text goes here for those without flash</object>
  13. A:link {text-decoration: none; color:#0000FF;}A:visited {text-decoration: none; color:#0000FF;}A:active {text-decoration: none; color:#FF9900;}A:hover {text-decoration: none; color:#FF9900;}will give you all links with no underline, blue, and orange when you hover over them and click on them.i dont know how to go about making it bold on hover in css.then, write your links as normal<a href="somepage.htm">click me, i'm a link!</a>
  14. suggestions go in the suggestions forum :)back to your valign question.http://www.w3schools.com/tags/tag_td.aspits on that page
  15. div tags are divisions of a webpage. like tables, except much easier to place on a page and you can define a number of things with them making designing your pages exactly how you want them to be. These are prefered over a table based layout, which doesn't give a precise design that you may want.span tags are used to define a short phrase within a sentance in a different style.both these tags are used in conjunction with CSS.http://www.webdesignhelper.co.uk/html_tuto...utorial50.shtml is a good one for span, and an intro to div tags.
  16. by the sounds of it, your flash movie isn't the correct dimensions.the best way to preview your flash movie is to go to File --> Publish Preview --> HTMLthat way you'll see it as its going to appear in a browser.as for making it full screen, i dont know about that, but do a google search on it and you should find your answer.if you can upload the flash on a page, as a swf, then we give you an idea of what needs doing.
  17. from my understanding, IE does not support css2, whereas the proper browsers, like firefox (not sure about opera css2 support) do.
  18. if your server suports php, you can use php includes<?phpinclude('includefile.php');?>where you want the included document to be.and the includefile itself, has to be just plain html, no head, meta, body tags, otherwise the page wont validate. it can be either php, html or htm extension, although if that include file has php code in it, then it has to be php.there is server side includes, but i dont know how they work.asp includes are the same as php includes, except in a different language and the pages need to be .asp and not .php - http://www.w3schools.com/asp/asp_incfiles.aspas for client side includes...not really heard of them in this context before, but there are javascript includes to put in a piece of javascript thats in an external file. And thats not to do with repeating html such as headers, footers, menu's etc...unless they all have the same piece of javascript.hope that helps!
  19. you can use the border attribute on tables and divs using css to determine which borders show and which dont and colours usedsuch as here http://www.w3schools.com/css/css_border.asp
  20. i dont have access to the apache config anyway..so i think that idea is out
  21. is there a way to detect what browser someone is using and only display certain text bits to those that have that browser..and those who dont, that text isn't displayed..??
  22. ah..well..if you could attach files..then you could post it here.or make one really looooooooooooooooooooooong post
  23. why not post it here for everyone to learn from?
  24. real_illusions

    include

    ahh..i tried that with ajax once..and it didn't work when i had a contact page and it needed to process the information on a seperate php page.i cant remember where i got the script..but it was ok..not that great..needed some work doing to it to make it easier.
  25. real_illusions

    include

    <?phpinclude('somefile.php');?>and somefile.php should just be code..no <html> or <body> tags, as that will cause validation errors.
×
×
  • Create New...