tgreer 189 Made Her Cry Team Colleague

When dealing with "spacing" issues in CSS, always check to ensure that both the margin and the padding properties are properly set for all elements, including all parent/container objects and so on all the way up the tree. In fact, it's best to set margin and padding both to "0" to establish a baseline or "natural" position for everything, and then adjust as needed.

tgreer 189 Made Her Cry Team Colleague

I know nothing about Dreamweaver. In HTML, in general when you wish your page's content to expand/contract, you use percentage values rather than fixed units when you size your elements.

tgreer 189 Made Her Cry Team Colleague

I have no idea why this old thread was resurrected, but the link in the site is a standard link around a standard image... which was what I suggested since a background image (see original question) cannot be inside a hyperlink. So, yes, this is an old, solved thread.

tgreer 189 Made Her Cry Team Colleague

Try String.Replace(Environment.NewLine, "<br>")

tgreer 189 Made Her Cry Team Colleague

In all my years in web development (actually, I've been a developer since before the web, and a WEB developer SINCE the web), I've never once had a case of a customer complaining that they can't use my app because they don't use javascript. Never. These aren't small-scale applications I'm talking about, either.

I would quickly lose the idea that "lots of folks" turn off JavaScript for "security reasons". There's very little that JavaScript can actually DO that would affect security, in any case.

tgreer 189 Made Her Cry Team Colleague

You most definitely CAN encrypt that data. Do a web search for "HTTPS Protocol".

tgreer 189 Made Her Cry Team Colleague

Cool. The main debate is "tables" vs. XHTML with divs and CSS. I just didn't want that hashed out again, as it gets political.

tgreer 189 Made Her Cry Team Colleague

I loved Top Gear, when I could see it. My cable provider dropped it. It was so completely about cars, without any pretense at anything else. Love cars? So do we, and here's a show about driving some of the best in the world. Can't fault that.

On another note, has anyone noticed a shocking lack of apostrophes on Daniweb recently?

tgreer 189 Made Her Cry Team Colleague

What precisely do you mean by "data between pages"? POST and GET describe communication between a web page (client) and a web server application. Of course POST and GET can be encrypted. That's what certificates and the HTTPS protocol are all about.

tgreer 189 Made Her Cry Team Colleague

Let's not start that debate again. It's been covered here, there, and everywhere already.

tgreer 189 Made Her Cry Team Colleague

I strongly disagree, and in fact so does Daniweb's official rules. Communication is about conveying "the message" as clearly as possible. Here, that means writing your posts in conventional, standard English.

Glad I could help.

FC Jamison commented: what is capitalization? LOL +3
tgreer 189 Made Her Cry Team Colleague
tgreer 189 Made Her Cry Team Colleague

You add the id just like have the "name" attribute now. Your image tag is also messed up. It's got an extra "img" inside of it.

In English, the pronoun to refer oneself is "I", not "i".

tgreer 189 Made Her Cry Team Colleague

Hi....

can ny do this help for meee...:rolleyes:

the first page shld contain username and password...and in that register..
the register options shld be jus username,password,email-id...

if he entered correct username n passsword then it shld go in to another web page....for example it shld connect to som site www.example.com ...
if the username r password id rong we shkd show an error message...
this should be done only by using HTML and JAVASCRIPT
is this possible???if so plz do for me...its a little bit URGENT...

Thanx in advance...
cheers,
karthik.

Is your keyboard broken? This is a programming forum. If you have a programming question, please ask one. Begging for someone to do your work for you, in weird broken pidgin English, is not appropriate.

tgreer 189 Made Her Cry Team Colleague

If you want a system (regardless of platform or IDE) that allows comments to be stored, and then incorporated into a page, you are developing a "server-side" application.

You have to have some means of storing sumbitted content. That usually means a database. You have to have a language that can talk to the database, and output HTML. That means PHP, ASP, ASP.NET - one of the server-side languages.

You can do your work on a PC or Mac, doesn't matter, but FC Jamison is absolutely correct: you need to learn a server-side programming language, and I echo his recommendation for PHP.

tgreer 189 Made Her Cry Team Colleague

We're all volunteers here. If you'd like to express your appreciation, then why not make a donation to Daniweb? Thanks!

tgreer 189 Made Her Cry Team Colleague

Look at the "gzip" stuff, in the System.IO.Compression namespace. I think you'll find that a 3rd party zip library is the way to go. I think the one I ended up using was SharpLibZip.

tgreer 189 Made Her Cry Team Colleague

Please use the "shift" and apostrophe keys on your keyboard, where appropriate. We don't like "sloppy" posts here.

What doctype are you using in your pages? The proper way to reference HTML elements is to give each element a unique "id".

Then, to return a reference to the element (so you can change the "src", for example) you use document.getElementById('myID') .

So start by giving your href element an ID, and changing your script to use the "getElementById" method.

bazmanblue commented: dont like people talking down to me +0
tgreer 189 Made Her Cry Team Colleague

Yep. Your answer was great. I just wanted to stress the difference between a logical device and a physical device.

Another detail: until recently, most OS's weren't built to handle extremely large hard drives, so partioning your drive into lots of logical drives was the only way to use all your hard drive capacity.

tgreer 189 Made Her Cry Team Colleague

If that site is what you want... why not follow the directions on that site? If you want to learn how to script XHTML, we'd be happy to answer any specific questions you have, in the HTML, CSS, JavaScript forum. Note that it is a programming forum, so you're expected to attempt to code things yourself to the best of your ability, and ask specific questions.

Basically, the ad content is placed in a DIV, and when the page loads (body's onload event), they reposition the DIV.

tgreer 189 Made Her Cry Team Colleague

A "partition" is a logical division of a physical device. You can divide your single drive into multiple "parts" that the OS can use.

tgreer 189 Made Her Cry Team Colleague

Oh, the "code for it" is all you want? Let me snap my fingers <snap!>

Well, since magic fails... you have to realize that an ad system is quite a bit more complex than adding a few "simple codes" to your pages. I would suggest that you apply to a contextual advertising system, such as ContextWeb or (though typing the very word makes me want to puke) IntelliTXT.

I also suggest that implementing "hover" ads on your site is a dead giveaway to your users that your site content is just fluff, meant to bait users, that the real reason for the site is to carry ads. In other words, if you must have advertising, use something less blatantly evil than "hover" ads (otherwise known as in-line contextual ads).

tgreer 189 Made Her Cry Team Colleague

A web application of course wouldn't have any of the standard OS controls. It's a web application, not a fat client application. The only reason to ever present the user with a "File" dialog box is so they can upload a file. The standard HTML "file input" form element has been around for ages for just that reason.

ASP.NET is bound to have a much more complicated, hard to understand, and pointlessly obscure version of the control.

Ah, here it is: System.Web.UI.HtmlControls.HtmlInputFile .

Simple web searchs for that or for "ASP.NET File Upload" should get you the rest of what you need to know.

tgreer 189 Made Her Cry Team Colleague

Interesting thread. I couldn't possibly list them all... reading is my number one hobby. I own thousands of books. I have to list all of the sci-fi classics and their authors: Asimov (Foundation Series/Robot Series)... Heinlein, Clarke. Gibson (the man who coined the term "cyperspace'). I'm reading Neal Stephenson. Lots of non-fiction in my library, as well. "The Code Book" is excellent, as is most of Simon Singh's work. Jared Diamond's "Guns, Germs and Steel", and "Collapse" are must reads. I also have all the classics (Homer, Dickens, etc.).

I'm also a poet, so I have hundreds of poetry collections and manuals... there is no good place to end this, as I am definitely a book collector, so will just stop here. Thanks for the excuse to walk around my library again.

tgreer 189 Made Her Cry Team Colleague

You can style your table elements with "nowrap" to force the table to be a certain width. That way instead of collapsing when the window is tiny, users will have to scroll instead.

td { white-space: nowrap; }
tgreer 189 Made Her Cry Team Colleague

"Java" isn't synonymous with "JavaScript". Two entirely different languages and methodologies.

VBScript is Microsoft; JavaScript is open-source. Go with JavaScript.

tgreer 189 Made Her Cry Team Colleague

CSS is never used to "load" content. It only styles the content. To dynamicaly load and/or generate content, we need to be talking about JavaScript.

It is entirely possible to load content into a DIV using JavaScript, for example, using the ".innerHTML" property.

tgreer 189 Made Her Cry Team Colleague

You don't. Or, rather, you shouldn't worry about this it all. Pick a standard resolution, such as 800x600, and code for it. Trying to code for all possible screen resolutions and browser window sizes will drive you crazy, and in my opinion it's sticking your nose where it doesn't belong: inside the users' preferences for monitor and window settings.

That said, JavaScript does give a "screen" object which you can interrogate to gather info about resolution. ASP.NET should have that built in to some object or other for you.

tgreer 189 Made Her Cry Team Colleague

Yes, it would. What you no longer have, though, is a valid reference within the child window, to the original parent window. If the goal is for the child window to make further reference/changes to the parent window after the parent has refreshed, I think that's not possible.

If the goal is for the refreshed parent window to not re-generate the child window, then yep... make script changes in your parent window to check to see if there is already a child window. If so, don't re-create it.

tgreer 189 Made Her Cry Team Colleague

I don't believe this is possible. As you say, once you close the parent, the reference to it is nulled. I've never heard of "PDOM".

tgreer 189 Made Her Cry Team Colleague

Actually, I think the whole "fun nonsense name" thing is played out. Since the biggest concern with Search Engines nowadays is Privacy, I'd be curious what your stance is on the issue, and if you've taken privacy and copyright issues under consideration, perhaps your name could reflect such.

tgreer 189 Made Her Cry Team Colleague

Could you provide a little context with your question, #tbone? What "file" are you looking for? Advertisement?

If you're referring to the Suckerfish menus, do a web search for "suckerfish menus".

tgreer 189 Made Her Cry Team Colleague

Agreed. No big deal.

tgreer 189 Made Her Cry Team Colleague

...and in the "strangest WiFi" category is the Buffalo Wild Wings restaurant chain. Can there be a better combination than sauce-slathered chicken wings and touch-typing? The complimentary "wet-nap" can double as a screen cleaner.

tgreer 189 Made Her Cry Team Colleague

I get the same behavior.

tgreer 189 Made Her Cry Team Colleague

My biggest WiFi complaint isn't hotels. I hate Airport WiFi. What I generally find is that the smaller regional airports have good, free WiFi access. Once you reach a major airport or hub, though, you have to pay. I also find the rates ridiculous. I can buy "all day access". Oh, yippee. The mere thought of spending "all day" at the Delta wing of the Atlanta airport is enough to give me hives.

tgreer 189 Made Her Cry Team Colleague

The canonical example(s) for menuing in JavaScript are the Suckerfish menus. A simple web search should reveal several sites and variations. Pick the one that best suits you, study the code, make any adaptations as you see fit, and post specific questions if you have them.

tgreer 189 Made Her Cry Team Colleague

There is no shortcut. You have to learn about PHP programming, as well as database design. Get yourself a good book on "PHP and MySql" and do the work. Most databases are very similar, but the design principles are very important to learn so that you create a database structure that can scale up well. You also need to learn the SQL language, which is a language designed to interact with databases.

Life doesn't come with "cheat codes".

tgreer 189 Made Her Cry Team Colleague

A config file is used to store application settings. Database connection strings, for example.

This is so anything about the application which might need to change at some point, can be changed by the user editing the config file, rather than requiring a programmer to change hard-coded settings and recompile.

tgreer 189 Made Her Cry Team Colleague

Research JavaScript's "return" keyword. If the user clicks cancel, you want to "return false" from your procedure, which will cancel the default action and/or exit the script.

So, you have a "submit" button. You code the "onclick" event handler, to a function which issues a confirm. If the user presses "Cancel", you return a "false" which cancels the submit.

<input type="submit" onclick="return myConfirmFunc();" />
tgreer 189 Made Her Cry Team Colleague

I missed number "8" is all... I guess I can stay here?

tgreer 189 Made Her Cry Team Colleague

I wrote this tuturial regarding dynamic controls in ASP.NET. I hope it helps.

tgreer 189 Made Her Cry Team Colleague

Please provide a link so we can see what you're describing. It's hard to visualize.

Are you using CSS and a proper DOCTYPE? Have you set the padding and margin properties for all elements appropriately?

tgreer 189 Made Her Cry Team Colleague

Most templates are read-only. If you want to modify it, change the attributes (right-click, properties, etc.).

In the future, please don't bump threads that are over a year-old. Also, use complete, professional English. Thanks.

tgreer 189 Made Her Cry Team Colleague

No, the problem isn't really clear. In order to get the most benefit from a site like this, you need to ask very specific questions. No one can really take on a complete project, from start to finish, for you.

I would suggest that you learn ASP.NET, SQL, HTML, CSS, and JavaScript. Start with small static pages, then slowly move up to dynamic pages, such as a Guest Book application.

Once you have the core concepts, you can attempt an "e-commerce site".

Daniweb is a professional forum. We're glad you're here, but please use complete, proper English (including punctuation, capitalization, grammar, and spelling).

tgreer 189 Made Her Cry Team Colleague

Please use code tags. Please use English, rather than bizarre abbreviations.

What you're describing is normal behavior for the "GET" method. By definition, GET places values on the querystring. Sorry.

There is no way to secure a website using either GET or POST.

tgreer 189 Made Her Cry Team Colleague

Every compiled program has dependencies. .NET programs require the .NET Framework. There is no way to write a program in th .NET environment without .NET Framework on the client machine, as WaltP keeps stating.

You could write in another language, such as VB 6.0, but it requires the vbrunxxx.dll as a dependency, and so on.

Any language that supports COM can re-use the Web Browser Control to have an internal web browser.

tgreer 189 Made Her Cry Team Colleague

Yep, you need to make sure to set the margin and padding of all block level elements to "0" if you want them to abut each other seamlessly.

tgreer 189 Made Her Cry Team Colleague

Welcome to you both. I moderate the HTML & JavaScript coding sections, so I'll see you over there.

However, I don't know or care about SEO, and am kind of a Google-cynic/skeptic. We have a separate section for SEO, however, full of people who can dispense reasonable advice on the topic.

tgreer 189 Made Her Cry Team Colleague

Ok, first, three images are used:

[IMG]http://www.backstreetboys.com//images/bg-4.gif[/IMG]

That is the background image of the body element. So, the entire body of the page is set to that image. It obviously tiles.

Next, we have:

[IMG]http://www.backstreetboys.com//images/bg-4-gradient.gif[/IMG]

This provides the "fade" effect, and is the background of a div element named "main". The "main" div comes right after/under the body, and everything else is inside of it. The style is set to repeat horizontally, but not vertically. Thus this image marches across the top of the page.

<html>
<head>
<style type="text/css">
body {
  background-image:url(../images/bg-4.gif);
    background-position:top center;
}
#main {
  background-image:url(../images/bg-4-gradient.gif);
    background-position:top center;
    background-repeat:repeat-x;
}
#globalWrapper {
  background-image:url(../images/shadow-4.gif);
    background-position:top center;
    background-repeat:no-repeat;
}
</style>
</head>
<body>
<div id="main">
<div id="globalWrapper">
</div>
</div>
<body>
</html>

Lastly we have the image for the globalWrapper, another div after/under "main". It's too big to place here, but it's basically a "frame" for the page content, and isn't necessary for achieving the background effect.

To summarize: set the background of the "body" tag to your overall repeating pattern. Then place a div just under the body, and set its background to an image that is "darker" at the top, but is an exact match for the overall pattern at the bottom. Set it to repeat horizontally at the top of the page.