888 Posted Topics
Re: If you want to use books, I like the "Visual QuickStart" series. | |
Re: You cannot directly embed images in HTML. HTML is a set of instructions. One of those instructions is "put this image, here". The browser/client must retrieve the graphics when it processes those instructions. So what you're seeing is a problem in Outlook, not the HTML. If you want absolute fidelity … | |
Re: Also, we can't stress enough the importance these days of using a correct doctype. A proper doctype will remove a large chunk of the cross-browser issues by forcing the browser to respect (to greater or lesser extent) a common DOM. | |
Re: By "CSS" site, you mean that you have a "regular" web site/page that is formatted and styled with CSS, I assume. Then, you have a forum. You want aspects from that forum to display in your regular site. This is typically achieved through "RSS", which stands for "Really Simple Syndication". … | |
Re: DHTML refers to the client-side manipulation of the Web Browswer DOM (Document Object Model), which includes HTML and CSS (Cascading Style Sheets), via JavaScript scripting. There are IDEs, such as FrontPage and Dreamweaver. As an experienced coder, you won't need them. What DHTML does NOT do, is provide any server-side … | |
Re: I would start on MSDN. Their articles on .NET programming generally include sample code. | |
Re: browserCaps will also fix some of the HTML rendering issues. Panels will render as DIVs instead of Tables, etc. I've been meaning to write an article on browerCaps... | |
Maybe this should go in the "Site Feedback" forum, I don't know. Wow, I really don't like this style. Most of the navigational elements are WAY TOO SMALL. Where did the JavaScript/DHTML forum go? I can't seem to find it anymore. It should be under Web Development. So... I guess … | |
Re: I'm not sure you can. I have fallen victim to this on one of my sites. Google will not disclose any details about what happened, who did it, what IP address, or the nature of the the infraction. Also, you are disqualified forever from future participation. I think it should … | |
Re: You use "self.opener.href.location = ". So consider this link in your NEW page: <a href="" onclick="self.opener.href.location = 'http://www.daniweb.com'";> Which means "I'm a link to nowhere, but when you click me, set the location of the window that opened me to daniweb". | |
Re: I'm not sure what JavaScript/DHTML programming help we could give that would address the issue. "Java" and "JavaScript" are different things. You might try asking Yahoo! for help. You use the term "nth", which I understand to mean the last term in an indefinite series. I don't see how that … | |
Re: You'll have to be a bit more specific. What sites "dont' work"? What doesn't "work" about them? What OS are you using? What browser? Version? | |
I run a couple of low-volume, niche-specific sites. I run ads on them, from that big search engine company. I was recently told that my account was terminated for "invalid clicks", with no further details. I can only speculate that someone overenthusiastically clicked many, many ads. Searching the web a … | |
Re: We need to see your Page_Load routine. The Load event will indeed run each and every time. If there is code that should only run the first time the user visits the page, you isoloate that code within an "IsPostBack" conditional. | |
Re: It's impossible to tell with only the code you showed. Nothing in those two lines would cause the text to disappear. | |
Re: Yes, you can use a cookie to persist a value, but you'll still need JavaScript in order to set/get cookie values. First, you need to test if your environment will let you include JavaScript elements. A simple alert will be a good test. If you can post: [code] <script>window.alert("Hello world!");</script> … | |
Re: I don't think so. I'd like to be pleasantly surprised to the contrary by another poster, but my first reaction is "no". | |
Re: I would append a querystring, containing the value of the previously selected state. Then, author an onload script that checked for the querystring value, and make that the selected option in the select list. If there is no querystring (ie/ first time the page loads), then select some default state. | |
Re: Frames contain content. If the content doesn't fit inside the frame, then the content will be truncated. There isn't a way to "fix" that, since nothing is really broken. Frames are frames, and that's how they behave. There is nothing magical about DIVs, they are simply organizational block elements. The … | |
![]() | Re: This is tricky. I'm guessing (and it's a guess because ASP.NET is not built to handle dynamic controls, and weird things happen), that you're a victim of the ASP.NET Page Lifecycle. You're creating the controls on Page_Load, which is good, because dynamic controls must be recreated every time. However, by … |
Re: You mean, you don't want to use "JavaScript". Java and JavaScript are not related to each other and have nothing in common. You cannot know if a user actually printed. Printing is firmly in the hands of the user - a web developer cannot write code to force a user … | |
Re: You seem to be asking someone to troubleshoot your PHP code. So, I've moved this thread to the PHP forum. If you're asking a JavaScript question, post only the JavaScript code that appears to contain the problem. | |
Re: This probably isn't the correct forum for your question, since you aren't really asking a programming question. But I'll briefly mention that while the client-side interface definitely uses JavaScript and CSS (the same is true of ANY sophisticated system), there is a lot of server-code that generates the overall functionality … | |
Re: Give each location a unique login name. It's as simple as that. The database itself should take care of any record locking issues. As this isn't an ASP.NET issue, if you have further questions they should be posted in the Database section. | |
Re: Use double quotes around your string: [code] "this is hm's program" [/code] | |
Re: Since vBulletin is written in PHP, I've moved this thread to the PHP Forum. | |
Re: You can use CSS with .NET. However, .NET will PRODUCE CSS for IE, not cross-browser CSS. That's why it's best to code your OWN CSS, and then add class defiinitions via the Add() method of the Attributes collection of the particular server control. In others words, "styles" are yet one … | |
Re: You cannot direclty read a file on another server. You can browser to it, though. What you need to do is called "screen scraping", I think. You might start a thread or do some Google searches on that topic. | |
Re: Just another vote for PHP, against CGI. CGI was the FIRST web development methodology (it's at this point that someone usually chimes in with a reference to some OTHER methodology which was actually first, but that no one ever used:) ) CGI uses environment variables to pass values. Remember those? … | |
Re: What is a "layer"? If you have a long page, with content divided up by use of anchor tags, you can navigate the page to a specific anchor with the URL syntax: [url]www.domain.com/page.html#anchorName[/url] | |
Re: Use a function. Set the onChange() handler to run this function. Call the same function at the conclusion of your "popup" script. | |
Re: I don't understand the need for JavaScript here. ASP.NET Forms authentication handles it all for you, including managing the cookies. | |
Re: You can also set the "multiline" property of the standard TextBox control. That control will either render an <input> element or a <textarea> element, depending on the properties you set. | |
Re: Databind WHAT to WHAT? You have your data in SQL, you get it out and it's now inside, what? A DataReader? DataTable? You want to bind this data to which ASP.NET Server control? | |
Re: This code is Internet Explorer ONLY. The object/method is "createTextRange". The JavaScript function might look like: [code] function setCursorPos( x ) { var txtRange = x.createTextRange(); txtRange.moveStart( "character", x.value.length - 2 ); txtRange.moveEnd( "character", 0 ); txtRange.select(); } [/code] And you call it: [code] <form > <input type="text" onfocus="setCursorPos(this);" /> … | |
Re: Please post ASP.NET questions in the ASP.NET forum. You use the "FindControl()" method to locate dynamic controls. I'm not going to read 100 lines of code, so if that doesn't help you, then please post a more specific question, with only that section of code which you think is relevant … | |
Re: I would have a very negative feeling about any system that "imported" content from one of the forums I operate, into their own system. In fact the very thought makes me want to have a long talk with my lawyer. | |
This is for a site concept I'm working on. Can multiple AdSense publishers exist on a single page? For example, imagine a site that I run, on which YOU contribute. If you contribute an article, I want the article page to have MY Google Ads at the top, and YOUR … | |
Re: Two techniques for you: Put your ENTIRE TABLE into an outer table, with one row, and one cell. Set that cell to "align=center": [code] <html> <head></head> <body> <table> <tr> <td align="center"> <!- your inner table HERE -> </td> </tr> </body> </html> [/code] The second technique is to assign a proper … | |
Re: Not much. There are actually lots of things you CAN do, but it's questionable whether you SHOULD. My rule of thumb is to design a site for an 800x600 browser. That's plenty of room, and most people have their screens at 1024x768 now. | |
Re: I think what you're describing is called "screen scraping". There's an article on my site specifically about PHP screen scraping: [url]http://www.tgreer.com/class_http_php.html[/url] Of course, support DaniWeb. If you'd like to discuss that article, you can do so in this thread. The article author is also a DaniWeb member. | |
Re: I don't see how the value "30.0" is contained in the URL. But I assume you'll be passing in key-value pairs on the QueryString? The JavaScript object you'll use is the "location" object. It returns the URL. It has further properties, that return just portions of the URL. Combine the … | |
I just got a new laptop. It has dual Intel Pentium P4 2.8G processors installed. I'm running Windows XP Professional. My question is, does XP really use two processors? How? At what point are both processors being used? Under heavy load? At all times? Is there a way to assign … | |
Re: What authentication model are you using? Did you add the ASPNET user account to your ASP.NET application? | |
| |
Re: I'm having a hard time comprehending the source behind your page. I don't even see the image tags for the problem images. Evidently one of the scripts dynamically builds those tags? Could you strip the page down to JUST the problem images and relevant scripts, and post the scaled-down code … | |
Re: You set the image into the HTTP response stream, setting the proper MIME type, of course. Do an internet search for "image response stream". This question might have been answered sooner if it were posted in the Web Development | ASP.NET forum. |
The End.