View Full Version : How to create a site like this
gavinv3
09-29-2007, 03:16 PM
I would like to know how the functionality on the foll site is done.
www.optuszoo.com.au
I understand that each is a layer and they have been given the functionality to be dragged - but what kind of a script is used to drag it and then drop the boxes in diff locations,
If some one could throw light on this trick.:)
TimFA
09-29-2007, 03:26 PM
I've seen a script similar to that before, here. (http://www.jdstiles.com/java/scrollboxes/scrollboxes.html) That isn't the exact same, but close.
TimFA
09-29-2007, 03:38 PM
If you actually want to use t, I can search around for a different one, it appears to be old, and DHTML Central doesn't have a listing so you can't get it (taking it out of source code is usually inconvenient).
EDIT: Heres something, if you need it. (http://www.dhtmlgoodies.com/index.html?whichScript=floating_window_with_tabs) Demo. (http://www.dhtmlgoodies.com/scripts/floating_window_with_tabs/floating_window_with_tabs.html)
gavinv3
09-29-2007, 03:45 PM
Thanks for the information - I did succeed in doing it earlier with dreamweaver by using layers an the drag layer option - I you could help me with how the boxes fit in place and also how do they expand and close
Regards
Gavin
gavinv3
09-29-2007, 04:08 PM
Once long time ago I had come across a site which had small squares at the top end of the webpage with diff. colors in each box . It was like a color picker - if you click on the box it would change the background of the webpage - how does this work
Regards
Gavin
Rockonmetal
09-29-2007, 04:30 PM
Tim thats a great site... thanks...
TimFA
09-29-2007, 04:48 PM
Heres (http://javascriptcity.com/scripts/color/scolor4.htm) a change background color of page script, if you men't something different let me know.
Theres also this one, (http://javascriptcity.com/scripts/color/scolor3.htm) and this one. (http://javascriptcity.com/scripts/color/scolor1.htm) Just put the link inside one of your windows.
Tim thats a great site... thanks...
I thought the windows looked pretty "modern" whereas most look out-dated.
gavinv3
09-29-2007, 05:02 PM
Thanks a lot Tim, Yes that's exactly what I wanted.
Can you help me with how to get a search box like the one in the left hand side of this page: http://widgets.yahoo.com/gallery/
I dont want anything attached to it like a search script - I just want to know how to make a textbox look so beautiful - enclosed in the graphic.
Secondly, I would like to know how to create a small copy button that uses a graphic besides it - in other words if I type anything in it - clicking on the button should copy what is in it to the clipboard
Regards
Gavin
TimFA
09-29-2007, 05:18 PM
You can sue a CSS style-sheet and whenever the form is made you can add background colors to the stuff. Heres and example.
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="layout.css"
type="text/css">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Search</title>
</head>
<body>
<div id="container">
<form method="get" action="http://www.google.com/search"><input
id="searchbox" name="q" size="25" maxlength="255"
value="" type="text"><br>
<input id="searchbutton" value="Search" type="submit"></form>
A nice pretty searchbox.
</div>
</body>
</html>
CSS
div#container
{
color: #FFFFFF;
font-family: Arial;
font-size: 10pt;
text-align: center;
margin:auto;
background-color: #000000;
height: 250px;
width: 250px;
}
#searchbox
{
font-family: Arial;
font-size: 10pt;
width: 148px;
color: #FFFFFF;
background-color: #000000;
border: #4F4F4F 1px solid;
}
#searchbutton
{
font-family: Arial;
font-size: 10pt;
color: #FFFFFF;
background-color: #000000;
border: #4F4F4F 1px solid;
Save them both to your desktop one as an HTML file other as a CSS. If you not sure how to do this, open Notepad paste in the HTML click Save, navigate to your Desktop where it says text document switch that to All Files, then in the name slot type in "Search.html", same for CSS only name it "layout.css". I believe its also possible to use images as the background. Furthermore, I don't know what they did, but the easiest way for the graphic effect would be to make a border on three (or all) sides the same color as the image.
Second thing:
I'm not good at that sorta stuff. I'd search Google for "copy clipboard to textbox".
EDIT: I see what they did, sorry I was looking at the other box :P. The easiest way to duplicate would be to put an image on each side, then put a border on top and bottom. One of the images would submit the form.
gavinv3
09-29-2007, 05:55 PM
Tim, thanks for it - however it isn't what I meant.
I am creating a website for the place I work - we have web based tools where in we put the username into a text field and then get into the a/c - Now this is a different page [window] - I am creating a webpage in which you have only one text field - where you put the username - then I have a button to click it will open the a/c in the other window - its like borrowing only the text field of that window into my webpage. - is it possible to do it. I have seen someone do it but I dont know that person - All I know is he used java to do it.
TimFA
09-29-2007, 06:01 PM
Ok, I see. It must be possible but as I said I can't use Java/JavaScript/PHP. I'm sorry, I'm mostly good with CSS and HTML.
gavinv3
09-29-2007, 06:41 PM
Tim, you have been very helpful this evening.
6 yrs back we had created a webpage in html, no java was used for a cybercafe wherein - it was like an interface where the customers could type in the main screen the hotmail username and password and would get signed in to the hotmail site without going to the hotmail site seperately. I cannot remember how it was done. But I do remember it was just code. I would be greatful if you can find something for me,
Regards
Gavin
TimFA
09-29-2007, 06:52 PM
Already think I know how. You could make a frame with the hotmail site and use a form that could pass it on to however hotmail signs in. I'll work on it later (that I can do), currently I have to go for a bit. Also whenever its finished please send me a link, I'd love to see how it turns out.
gavinv3
09-30-2007, 04:17 PM
Is it possible - when clicked on a button it throws text in a textarea?
For Eg. There is a text area on the left and 4 buttons on the right of the textarea - First button named as 'Powercycle' the second as 'Reboot' and so on...
Now when you click on the first button - it should have a sentance attached to it for eg. 'Powercycled the modem and was able to connect'
Similarly when you click on the second button the text it throws on the right should be 'Rebooted the computer'
These are just examples.
The fact I want to create this is so that I dont have to type the entire sentance in the textarea. [This is for making troubleshooting notes easy]
Do note: if I click the first button the text appears on line one in the textarea
Now if I click on the 3rd button the text should be placed on the second line - then if the first button is clicked the text should go in order of the buttons pressed
Is this possible?
TimFA
10-01-2007, 09:57 PM
Yes that is possible I think, although I believe it would have to rewritten all the way each time. I've been very busy lately, I'm working on some things. I'll try to get around to your stuff soon.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.