| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 34934 | 2003-06-28 09:14:00 | Web Design | ~~~~~ s y ~~~~~ (2054) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 155847 | 2003-06-28 09:14:00 | Hello all, As part of this year, I have set myself a goal to learn as much about web design *Just joking* as possible then following them up by incorporating what Ive learnt into assignments, etc. ;-) After launching my last website, I was immediately told how successful it was, all thanks to you guys for the help. Next up now, is my new developments/discovery as far as framing/animation/JavaScript is concerned. Please have a look at this image (www.wslitin.orcon.net.nz) *you may need to enlarge it, some browsers reduce the size in default settings*, which forms the bases of my website format. What I intend to do is, firstly, after the users types in the web address, for the page to launch with a pop up window containing an animation and a link to close the window. Here the user will have two options 1) To click close and view home page 2) To view animation, but after one cycle, the popup will automatically close and return to home page Back to the home page (main website) every thing but the area labelled context will be acting as a frame. Here I will be wanting the frame to remain the same, while when the user clicks the appropriate link, the page will be showed up in the context area. So basically to sum it up.. I want a frame around an opened window on my webpage, with a scroll next to it, as if the window was fitted in. Questions 1) How do I have a clock (analogue) flying around everywhere, following the course of the users coarser (javascript, please help source) 2) How do I personalise the title up the top of web browser 3) How do I personlise for a message to be running across the status bar at the bottom of the web browser 4) How do I customise the pop up window to look like how I want it, i.e. animation and link (close window) fit exactly and tightly 5) What is the script for closing down the pop up 6) How do I customise the template so that the "context" part is like another window (with scroll) incorporated into the main frame. 7) How do I set the pop-up animation so that as soon as it finishes, the window automatically closes I am using Powerpoint to create animation, Frontpage to create everything else, all XP version. I think that's all the question for now, but I may add some later. Please refer to question no. when replying. Many, many, thanks |
~~~~~ s y ~~~~~ (2054) | ||
| 155848 | 2003-06-28 09:23:00 | > 2) How do I personalise the title up the top of web > browser ( I do not have front-page XP, but I am guessing it is the same) When you go to file > save as you can change it, also if you go file > properties you can change it there. |
stu140103 (137) | ||
| 155849 | 2003-06-28 09:24:00 | 1 - Be careful with this, I have seen it used, and it get's very annoying very fast 2 - Open up index.html or whatever you called it in notepad or something. Search for <title> and you can change it in there. 3 - Javascript would be your best way of doing this - take a look at This Site (www.geocities.com) 5 - Close This Window (javascript:window.close();) 6 - I'd just copy index.html and rename it to whatever you want it to be called, then attack it with a text editor, and manually change the text 7 - What format is the animation? Depending on this, You could tell it that as soon as it hit's a certain point, it is to close the window it is in? |
cyberchuck (173) | ||
| 155850 | 2003-06-28 09:36:00 | > 3) How do I personlise for a message to be running > across the status bar at the bottom of the web > browser try this: <script language="JavaScript" > var msg = "Hello, this is a scrolling location bar message!"; var spacer = " "; var pos = 0; function ScrollMessage() { window.status = msg.substring(pos, msg.length) + spacer + msg.substring(0,pos); pos++; if (pos > msg.length) pos = 0; window.setTimeout("ScrollMessage()", 150); } ScrollMessage(); </script > |
stu140103 (137) | ||
| 155851 | 2003-06-28 09:40:00 | Also try this site for the rest of the scrips you want www.bravenet.com Just do a search & you can find what you want. Note: you many want to use a pop-up stoper |
stu140103 (137) | ||
| 155852 | 2003-06-28 09:47:00 | Many thanks for that site, very useful 9) How do I customise this (www.geocities.com) and this (www.geocities.com) so that it goes together in the status bar 10) As this site will be used for special purposes, I would like it to be non-editable or able to be copied. So far I've found this <script language=JavaScript> //Disable right click script III- By Renigade var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontext menu=clickIE;} document.oncontextmenu=new Function("return false") </script> so that the user can't right click, but do you have any idea as to how I can disable the edit button (with Frontpage, notepage, etc.) in IE and other. I want this so that the visitors cannot see the scripts and html coding, etc. that I use. Any other ideas for the other questions, I hope to have a variety to choose from. |
~~~~~ s y ~~~~~ (2054) | ||
| 155853 | 2003-06-28 10:09:00 | > 9) How do I customise > this (www.geocities.com > ssb_message.html) and > this (www.geocities.com > sb_clock.html) so that it goes together in > the status bar With those two scrips, I do not think you can have the clock & status bar running across, I think you can only have one or the other or if you can find another scrip, which does both, Good luck! |
stu140103 (137) | ||
| 155854 | 2003-06-28 10:17:00 | > 10) As this site will be used for special purposes, I > would like it to be non-editable or able to be > copied. So far I've found this > > <script language=JavaScript > > > > //Disable right click script III- By Renigade > > var message=""; > /////////////////////////////////// > function clickIE() {if (document.all) > {(message); return false; }} > function clickNS(e) {if > (document.layers||(document.getElementById&&!document. > ll)) { > if (e.which==2||e.which==3) {(message);return > false;}}} > if (document.layers) > {document.captureEvents(Event.MOUSEDOWN);document. onmo > sedown=clickNS;} > else{document.onmouseup=clickNS;document.oncontext menu > clickIE;} > > document.oncontextmenu=new Function("return false") > > </script > > > so that the user can't right click, but do you have > any idea as to how I can disable the edit button > (with Frontpage, notepage, etc.) in IE and other. I > want this so that the visitors cannot see the scripts > and html coding, etc. that I use. It does not matter what scrip you use to try & stop people from seeing what scripts and html coding, etc... that you use, because if some one what to see what scrip you use they have a way ;) Also here is a better no right click scrip: <script language="JavaScript" > <!-- var popup="Sorry, right-click is disabled.\n\nThis Site Copyright ©2000"; function noway(go) { if (document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers) { if (go.which == 3) { alert(popup); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // -- > </script > |
stu140103 (137) | ||
| 155855 | 2003-07-01 05:33:00 | Anymore idea from any one else? ;-) | ~~~~~ s y ~~~~~ (2054) | ||
| 1 | |||||