|
I don't know what you're seeing, but I get a right-aligned header in IE6. There are three lines, all right-aligned: ...foo foo \n Next \n next. Given the source lines:
<a href="http://www.theshroom.com">theshroom.com</a> - Blitzen foo foo <br>Next</br>next
that's exactly what I'd expect to see. A question, though - was it your intent to nest a <DIV> inside a <DIV>?
[EDIT]
Oops - forgot to check the 'Do not treat <'s as HTML tags' checkbox the first time
[/EDIT]
"Your village called - <BR>They're missing their idiot."
|
|
|
|
|
Hi, I have this method in Javascript that invokes some method on the document object. Problem is, I can't do this until the document object is loaded. Is there anyway that I can check whether the document object is loaded?
The following didn't work:
if(top.applet.document==null)
{
//Do nothing.
}
else
{
top.applet.document.SomeMethod(..);
}
This doesn't work since document object is neither null nor loaded - it's just not properly initialized. Any idea? Thanks!
norm
|
|
|
|
|
I dont understand what you are asking...
I know that when the document is loaded the onLoad event is triggered.
This is defined in the body tag as such:
<br />
<BODY onLoad="myJavaScriptFunction();"><br />
Hope this helps
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
You could put the js code at the bottom of your page.
|
|
|
|
|
I am new to website design and I have a question. I see the websites like this one (codeproject.com) that they keep the top, left and bottom navigation bars the same from one page to the other. Almost all of this sites use ASP so I can not see the code because it is executed and I only see the final output. The way that I am doing that at this time is using frames or copying the code for the navigation bars in each page.
Can any one tell me which is the best way (not the easiest way, but the best ) to do this?
SSI / ASP ???
|
|
|
|
|
Personally, I use a template HTML page, and read through it in a perl script, then when it finds the
<!-- INSERT PAGE HERE --> line it dumps whatever info belongs on that page out, and resumes with the footer after that.
Might not be the best, but it works for me.
"The beat goes on.. da-da-dum dadum dum" BW
|
|
|
|
|
You use include files to do this. <!--#include file="nav.asp"-->
So in your, lets say, default.asp page you will have that line of code where you want the contents of nav.asp to be inserted. You can then use it from multiple pages, one change to nav.asp will affect all the other pages. The include is inserted when the page is requested.
regards,
Paul Watson
Bluegrass
South Africa
Marc Clifton wrote:
"organically fed captivity free regurgitated bee nectar" (honey) on dieting.
Crikey! ain't life grand?
|
|
|
|
|
I have a web site with limited space and bandwidth alootment, but I need to have the ability to host files and control access to them.
I need a (PHP?) program that will do the following:
Allow users to upload files:
0) Only authorized users can upload files
1) Files can only be specific names
2) Files can only have specific extentions
3) Files must be able to be size-restricted
4) Uploads must be able to be restricted by frequency of occurance by user (allow a given user to upload every X number of days, or on a given day of the month)
5) When a file has been uploaded, the program updates an existing web page to reflect the files that are now available for download.
Allow users to download files:
0) Only authorized users can download files (be able to toggle this on/off to allow anyone to download).
1) Track which of the files are new since a given user last downloaded it.
2) Specify how many times a day a given user can download a given file.
I'm using phpBB2 for bulletin board software, so it would be very convenient if the program was able to use the database of registered users used by that program.
Can anyone help?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
You're hoping for someone to create this program for you?
|
|
|
|
|
I'm hoping for guidance as to how to approach it, some code that kinda gets me started, or yes, for someone to make the magnanimous gesture of doing it for me (being the lazy bastard that I am, this is the preferred route ).
I know nothing about php, or any of the other scriptng languages, and while I have a deeply ingrained dislike for learning anything new (I'm pretty old and set in my ways), I will if I have no other choice. However, I see no reason to reinvent any part of that wheel if someone else has already done so.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
The following is a link to a free perl script which allows you to upload files with a specific extension and file size.
There are upgrade versions with other features.
With a little noodling in perl, you could probably work in the other features fairly easily.
http://www.perlscriptsjavascripts.com/perl/upload_lite/[^]
"The beat goes on.. da-da-dum dadum dum" BW
|
|
|
|
|
Many thanks. I'll check it out.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
www.Hotscripts.com[^]
There are literally 1000's of pre-written scripts of all kinds...from KBases to polls to file managment.
However from my experience, pre-written scripts suk and are always buggy and full of security holes...so you should plan on looking over the code and trying to correct flaws PHP is easy enough that almost anybody with basic programming experience can crank out a fairly complex script. Thats where Perl might be a little better.
John Simmons / outlaw programmer wrote:
I'm using phpBB2 for bulletin board software, so it would be very convenient if the program was able to use the database of registered users used by that program.
That you'll probably have to do yourself. Thats another reason I hate pre-written scripts.
Cheers
I'm drinking triples, seeing double and acting single
|
|
|
|
|
I need people to help me create a browser driven opensource Operating system that will be linux based ie I am currently working on the linux kernel as I write this note. I have all of my componants such as file management, drivers, cdrom startup, and the browser base for the kernel. This would take me too long to do myself even though I have all of the componants (I think);P but I will need help tying it all together.
I will soon have a webpage up and running where you can go to find out about the project but just now please email me.
|
|
|
|
|
So, what is your question?
is it Web dev related?
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Don't do it
Thats my advice
I'm drinking triples, seeing double and acting single
|
|
|
|
|
Hi, I am using DCOM in my web page and back end is SQL server. My server's port:135 is locked. How can i establish database connection using ado? (by default port no:1433 for sql server is not sufficient.).
I am using connection string as
"PROVIDER=SQLOLEDB.1;Network Library = dbmssocn;Data Source =<datasource>,1433;Persist Security Info = False;UID=<uid>;PWD=<pwd>; Initial Catalog=<initial_catalog>" . I am getting error as "Distributed Transaction Error".
Please help me.?
Meenakshi Sundaram D, Ananlyst Programmer
|
|
|
|
|
Hi all
I am having a problem with window.open
In a file called pageone.html, I have the following:
<html>
<head>
<script language="javascript">
window.open("pagetwo.html");
</script>
</head>
</html>
pagetwo.html is nothing special - just some text (no javascript at all).
The problem I get is a javascript error - "Access Denied"
pageone.html is accessed by http://localhost/pageone.html
So why the hell is this happening? I can't figure it out at all. I have the correct permissions to the folder.
Thanks in advance,
Anthony
|
|
|
|
|
antbates wrote:
window.open("pagetwo.html");
Why do you want this to happen? Any advt page.. if thats the case, there are different solution for it
I was born intelligent Education ruined me!.
|
|
|
|
|
SPS wrote:
Why do you want this to happen?
One of our applicatons needs to have more than one window open. It's a bit odd, but necessary. Anyway, turns out that the machine it was failing on had an odd combination of MS patches, and when we updated it fully, it worked properly. Thanks for your help anyway.
|
|
|
|
|
antbates wrote:
when we updated it fully, it worked properly
You mean ... your posted code worked properly with the patch updates (I assume that was a patch for the IE)
I was born intelligent Education ruined me!.
|
|
|
|
|
SPS wrote:
your posted code worked properly with the patch updates
Yes, that's right. It's very odd - I know MS have made some changes to window.open to restrict cross-domain opening, but the two files were in the same directory. Maybe they made a mistake and corrected it later. A mystery.
|
|
|
|
|
antbates wrote:
A mystery
MS and mystery... dont ask
I was born intelligent Education ruined me!.
|
|
|
|
|
What is this gift-registry? Actually I was asked to do something with a retail store site. And this part popped up. Cananyone guide on this please??
I was born intelligent Education ruined me!.
|
|
|
|
|
For an example of a gift registry site go here.
The site is used usually for wedding gifts. The happy couple to be choose the gifts that they wish to receive on there wedding day and save their selection to an "account". The account name and password can then be given out to their guests who can log into the gift registry site and buy the gifts that the couple have selected.
It's similar to a wish list, except access can be gained my many parties.
|
|
|
|