|
Philip Patrick wrote:
CSS file
Thanks.... I guessed this to be the answer....
|
|
|
|
|
SPS wrote:
but whats the property
input.colouredbutton
{
background-color: #ff9900;
}
Is the way.
SPS wrote:
Also, is it possible to change the shape of the button?
Only if you use an image as a button. e.g. <input type="image" src="res/img/btn_submit_off.jpg" />
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Thanks....
Hey Paul... Long time- No See??? Busy or were you in vacation?? ANything wrong with ur health....
Have a nice day!
|
|
|
|
|
How can I display the titel of the Frame?
I have a simple HTML file with one frame (inserted with <iframe src... ).
So, I want to display the title of the HTML file in the frame on the top HTML file!
And I want to update the title of the frame window on the top HTML file every time a new
file is loaded in the frame.
Is that possible?
If yes, how?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Use the title= attribute. If you use a script to load new pages into the iframe I believe you could also set a variable to the value of title and update it when you change pages in the iframe.
"My child was Inmate of the Month at Mohave County Jail" - Bumper Sticker in Bullhead City, AZ
|
|
|
|
|
Hi, everyone!
Are there some step by step documents deals with
how to enable JSP with Apache and Tomcat on Windows?
I find the document shipped with Tomcat too boring.
Cheers,
George
|
|
|
|
|
I have a simple HTML file with one frame.
On the left side of my HTML file I have a navigation menu.
When I click on one item I update the frame.
It look like this:
+-----------------------------------+
| . Projects > Project 1 |
| ..................................+
| menu1 . |
| menu2 . |
| menu3 . FRAME |
| . |
| . |
+-----------------------------------+
On the top of my HTML file I want to display the current loaded file in the frame, like
"Projects > Project 1".
How can I change the text ("Projects > Project 1") when I click on the menu?
(with Javascript, ... ????)
How can I make this?????
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
I've never done this, but I'm pretty sure it could be done in Javascript. What you need to do is declare a variable, and preload it with the string "Projects". Then, on the menu items, add an onclick, with a parameter (eg. 1 for menu1) which calls a normal javascript function (this may not even be necessary, but long ways sometimes work best).
In the function change the value of the variable to "Projects - Project" + parameter, so that the same function works for all menu items, where each one passes the relevant number.
Put a javascript document.write where you want the string to appear.
HTH
I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'..... - Christian Graus on Code Project outages
A moment of silence please. A programmer's best friend has passed beyond that great exception in the sky.... - Mark Conger on "The coffee machine has died"
|
|
|
|
|
Daniel S. wrote:
have a simple HTML file with one frame.
You have one frameset, but from what I see you have 3 or 4 frames.
1) replacing dynamically a value inside a tag with another : lookup MSDN for innerHTML
2) getting the current docname : document.location.href
3) accessing another frame : window.frames[i].
|
|
|
|
|
Hi all,
I need advice on choosing the utility for uploading my site.
I dont wanna use frontpage 2000. But someother utility that will upload only new/modified files to the web-page. I tried cuteftp, but I am not satisfied with that.
So, and other utility that you guys wanna advice me....
- SPS
|
|
|
|
|
Macromedia Dreamweaver.(that's difference between using this tool as a simple html text editor, and using it as a site editor : it features always-in-sync FTP updates).
|
|
|
|
|
.S.Rod. wrote:
Macromedia Dreamweaver
Nah!!... I need just a upload/sync utility. The macromedia, makes/adds some lines in my html and sometimes tries to change the format of the whole page itself. I edit my pages with frontpage2000.
Can I use macromedia just for uploading??
|
|
|
|
|
SPS wrote:
The macromedia, makes/adds some lines in my html and sometimes tries to change the format of the whole page itself. I edit my pages with frontpage2000.
Quite amazing. For me that has always been the contrary : Frontpage adds his own extensions to the html code, Macromedia not (at least when properly use).
Sync tools page[^].
|
|
|
|
|
Will try the macromedia and make sure, it works fine now.
Thanks for the link....
|
|
|
|
|
The link u gave me is cooll...... Really good. And I selected.... "Site Publisher v2.2". Its good for me for next 30 days... thats a trial version. Lets see what I am going to do after 30 days...
|
|
|
|
|
It should come obvious to you that if you use a shareware for 30 days, then it probably deserves to be bought.
|
|
|
|
|
.S.Rod. wrote:
deserves to be bought.
True... but, I cant afford buying it when I use that for personal purpose...
Thanks..
|
|
|
|
|
|
A good choice... but occupies lotsa space in the disk/ram isnt it?
|
|
|
|
|
Hi! I am very new in Java / HTML ... and I have a problem ...
I want to display a "last update: 25.11.2002 - 10:45" string on my homepage, but I don't want to add this string on every page by hand.
How can I get the "last update" date of my HTML file?
I want to write:
document.write("Last Update: " + date);
So, how to get the date (the last update of my HTML file, example "25.11.2002 - 10:45")?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Put it into an include file, but you will still have to paste the include line in every page.
Damn, as the queen of lazy methods, I feel I am failing you here
I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'..... - Christian Graus on Code Project outages
A moment of silence please. A programmer's best friend has passed beyond that great exception in the sky.... - Mark Conger on "The coffee machine has died"
|
|
|
|
|
I know ... but I don't want to change the date every time I update the file ... I want to get the date from the file with Java ...
How can I get the date with Java?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
You are probably talking about Javascript, not Java.
|
|
|
|
|
Ohh... yes sorry
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
lol - sorry, document.write was automatically changed to ASP response.write by my Monday morning brain
In Javascript you can say this
date=new Date();
day=date.getDate();
year=date.getYear();
month=date.getMonth();
then document.write them as a string with whatever you want inbetween in the string (/ or - or whatever), and put that into a variable which stores it till the next time you update.
HTH
I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'..... - Christian Graus on Code Project outages
A moment of silence please. A programmer's best friend has passed beyond that great exception in the sky.... - Mark Conger on "The coffee machine has died"
|
|
|
|