888 Posted Topics
Re: IE has weird issues with "float". I hate to suggest this, but see if you can rework your CSS to use absolutely positioned divs. Sometimes adding "display: inline;" to your div styles will fix some of IE's float/margin issues. | |
Re: Check with your web hosting company. They will undoubtedly have a stats package installed that you can access. In any case, you can't do this with client-side code. | |
Re: The MIME-type should be [b]text/plain[/b]. However, you should also give your file the [b].txt[/b] file extension, because IE ignores MIME-types, using instead the OS' file associations. | |
Re: That looks correct. Make sure that your .css file doesn't contain any HTML tags at all, only style declarations. Note: when I look at your actual CSS, you're missing a semi-colon: [url="http://ysfdata.freefronthost.com/main.css"]http://ysfdata.freefronthost.com/main.css[/url] shows: [b]span {color: red}[/b] Also, you have a system path to the CSS in your link, rather than … | |
Re: Please don't resurrect 1.5 year old threads! | |
Re: The term was used to describe performers who would bite the heads of animals, or eat bugs, in freak shows or circus acts. I don't know how the term came to describe techno-gadget-afficionados. I prefer "nerd" to "geek", personally. | |
Re: This type of question is hard to answer without knowing your skill level. Have you made any attempts so far? If you search the web for "DHTML Menus" and/or "image rotators", do you find anything you can use? | |
Re: You cannot create a secure registration system in client-side code. You'll need to pick a server-side development language, and develop your system in it. | |
For all who like logic puzzles, thought experiments, etc.: I've posted a couple of blog entries on my favorite logic puzzles. I'd love to collect some more! One of them discusses the classic "Locker Problem", and the other is a weighing problem. The entries give the answers... I'm most interested … | |
Re: Research JavaScript's "setTimeout" method. It calls a function you specify at specific time intervals. Presumably that function, which you'll need to write, will check through an array of "messages" to see if any are due. | |
Consider the following code snippet: [code]counter = 0; workOperations = new String [OPERATIONS.Count,2]; foreach ( System.Array o in OPERATIONS) { workOperations[counter,0] = (string) o.GetValue(0,0); workOperations[counter,1] = (string) o.GetValue(0,1); counter++; } ps.Operations = workOperations;[/code] There has got to be a better way to do this! The issue is, the [b]ps.Operations[/b] property … | |
Re: Michelle, While links are permitted in this particular sub-forum, generally those links are to sites you are trying to develop, to illustrate a particular problem. This was a judgment call on my part, and I elected to remove the list of sites from your post. You can validate sites on … | |
Re: I would suggest that you define a CSS class for erroneous form elements. Then in your validation script, alter the class for elements that didn't pass. The validation function should simply "return false" to cancel the form submission. The form data will be retained automatically. | |
Re: If you have two functions which need to run, everytime, when the page loads, then you simply wrap them both in a third "container" function. [code] myFunction_01() { } myFunction_02() { } myLoadFunction() { myFunction_01(); myFunction_02(); } [/code] Then you write the body tag: [b]<body onload="myLoadFunction();"> [/b][i]You have to be … | |
Re: I generally don't help with homework assignments... that might even be a site-wide policy (it is on most tech-help sites). I would encourage you to research the CSS "margin" attribute. | |
Re: Coudn't you just add a counter to your logic? [code] [B]int myCounter = 0;[/B] foreach (DataGridItem spriden_ID in dgEmployees.Items) { CheckBox cbSpriden = (CheckBox) spriden_ID.FindControl("cbSpriden"); if (cbSpriden.Checked) { //Stuff to add to db here [B]myCounter++;[/B] } else { lblStatus.Text ="Scheduling failed: " + addCourses.ErrorMessage; } } [/code] | |
Re: How did you create the form? What development tools are you using? If you're using Visual Studio, and dragged the appropriate controls to the WebForm, then all should be well with your tag formation/syntax. Also, please post in standard, professional English. If you want high-quality replies, you need to ask … | |
Re: Complete class and description on PHP screen-scraping here: [url="http://www.tgreer.com/class_http_php.html"]http://www.tgreer.com/class_http_php.html[/url] | |
Re: Simply concatentate URL and ARGs. In fact, you don't even need a separate variable and/or call for "args". They are simply part of the URL. | |
Re: I guess I don't understand the issue. I always use the basic CSS hover pseudo-class in combination with a strict doctype. What specific IE issues are you having? | |
Re: [url]http://www.google.com/search?hl=en&lr=&q=links%3A+www.daniweb.com&btnG=Search[/url] | |
Re: You can dynamically, through JavaScript, provide a global onmousever handler for all links in your document. Hopefully someone else will catch this thread and give you some more pointers, as I'm travelling and just checking in sporadically. | |
Re: You can use CSS to color HTML elements. Let me know where to start: how much to you currently know about CSS? | |
Re: JavaScript run from a page loaded locally, will always give a "security warning" in Internet Explorer. Run the page from a server, or with FireFox, and you'll get no warning. Invoking "document.write()" mid-page is tricky, in may in fact overwrite the current page. You also have no "document.close()". I don't … | |
Re: I assume you already have a server-side method for your inclusion (PHP, or SSI), and that your question is soley "what do I put in the external file": just the HTML code itself should work fine. If you want an "almost" completely client-side solution, then you can set the contents … | |
Re: I notice some table cell tags in there, orphaned: no table row, or table for that matter. You aren't showing us all the relevant code, and that makes it nearly impossible to help you. | |
Re: Yes. You'll either need to use a commercial product, such as activePDF Toolkit, or learn the PDF Format. It isn't too terribly hard, for simple PDF files. | |
Re: Actually, forming an LLC has major benefits. It moves liability to the company. Right now, the liability is on YOU PERSONALLY. Someone goes blind because of your horrible color scheme (your color scheme is fine, it's a contrived example, ok?) and sues. You lose your new Mini Cooper and Sensa … | |
Re: Nope, not nearly clearly enough. It's ok, in this particular section of Daniweb, to post links to the site in question. Show us your page(s). Then explain what you want the external link to do. What I think you're trying to do is: [u][b] mainpage[/b][/u] [u][b] contents[/b][/u] Those are two … | |
Re: You cannot do this with HTML alone. Or even, for that matter, JavaScript, which is a language to manipulate things (the web document, the browser, cookies) on the client. You'll need to learn at least a server-side language (may I suggest "PHP"), and likely a database and SQL. | |
Re: This is impossible to diagnose with the information given. Is the URL to the dynamic page correct? Are the database connection strings correct? Is the web-server properly configured to serve pages in whatever server-side language you're using? In any case, this is probably a server-side issue, rather than HTML or … | |
Re: The "standard" answer is that users may have JavaScript disabled. That said, I've never, once, in my career as a web developer (since the web was invented), encountered a user with JavaScript disabled. | |
Re: I'm in California every month... mainly in the OC. Starbucks isn't free, but lots of independent coffee shops are. Buzz Coffee on Sunset is one of them. | |
Re: A particular "name"? Or "ID"? Research "getElementByName()" and "getElementById()". | |
Re: I moved this thread; it's not a JavaScript programming question. I think you'll get better responses in the Server Configuration forum. | |
Re: Depends on what you want to do. For basic page layout, either is fine. However, if your page layout is part of a more complete production workflow, you'll want the program that has the best support for that workflow. | |
Re: Probably due to having elements, JavaScript functions, etc. all with the same name. That's just a guess. | |
Re: I'm not sure I understand the problem. If you use the URL: [url]www.mydomain.com/folder[/url] Then you're requesting a file named "folder" in the root folder of that domain. When you use the URL: [url]www.mydomain.com/folder/[/url] Then you're asking for the index file, which can be various files depending on server configuration, but … | |
The current slew of animated ADs cause performance issues. I notice my system fan starts running faster and louder if I stay on a page with say, sharks with bullseyes on them. And for a site wanting to have a more professional appearance, I question the wisdom of featuring dancing … | |
Re: You can't, I don't believe, use ASP to perform file IO on an external JS file. You can use ASP to author an inline script, however. | |
Re: The grid is in a frame, so it can't fill up "the entire page". It will be framed. The parent page has no doctype. The frame page has an incomplete doctype. You can't resolve CSS and cross-browser issues until you first specify a proper and complete doctype. | |
Re: Hello, welcome to the forum. Please do us all the favor of using complete sentences with proper spelling and punctuation. "Abbreviated" speech is strongly discouraged. An "id selector" will apply to a specific element, the element with that id. They start with a "#" sign. So in this style declaration, … | |
Re: Try this link: [url]http://www.onestat.com/html/aboutus_pressbox31.html[/url] , they track resolutions. Even though 1024x768 is the most common, my own rule-of-thumb is to code for the next down on the list (800x600), just to make the site workable for the largest number of people. | |
Re: Hi. I moved this to the "server configuration" forum, since I think you'll get better responses there. | |
Re: T. Greer happens to be a member of Daniweb. In fact he moderates this forum. In actual fact, he's me. I haven't looked at that example in quite awhile. I removed your attachment because I have it on good authority the author doesn't wish the code distributed. However, please reply … | |
Re: Jake, That depends really on what language you're using. You mention both Java and JavaScript. They aren't interchangeable, and are indeed very different languages. Plus, I'm not clear on your question. No language will let you "access" a password protected page. What exactly are you trying to do, and with … | |
Re: Please define "counter". In programming terms, a counter is simple a variable that is incremented, perhaps within a loop. Yes, JavaScript can do that. | |
Re: Your function needs a "document.close()" statement. |
The End.