888 Posted Topics

Member Avatar for ashneet
Member Avatar for ashneet
0
256
Member Avatar for hbmarar

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 …

Member Avatar for hbmarar
0
133
Member Avatar for ohgosh
Member Avatar for hotdale

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.

Member Avatar for tgreer
0
107
Member Avatar for wizegirl22

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". …

Member Avatar for tgreer
0
100
Member Avatar for sergiu

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 …

Member Avatar for sergiu
0
232
Member Avatar for naif_prof

I would start on MSDN. Their articles on .NET programming generally include sample code.

Member Avatar for dexterz
0
137
Member Avatar for Paladine

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...

Member Avatar for cambia
0
406
Member Avatar for tgreer

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 …

Member Avatar for tgreer
0
417
Member Avatar for vabxxx007

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 …

Member Avatar for tgreer
0
82
Member Avatar for goldeagle2005

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".

Member Avatar for tgreer
0
91
Member Avatar for samhengon

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 …

Member Avatar for alpha_foobar
0
330
Member Avatar for roza

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?

Member Avatar for tgreer
0
291
Member Avatar for tgreer

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 …

Member Avatar for pulse
0
204
Member Avatar for jerMAn

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.

Member Avatar for jerMAn
0
312
Member Avatar for server_crash

It's impossible to tell with only the code you showed. Nothing in those two lines would cause the text to disappear.

Member Avatar for server_crash
0
242
Member Avatar for shahdhruv

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> …

Member Avatar for shahdhruv
0
259
Member Avatar for ep2002
Member Avatar for phalen

I don't think so. I'd like to be pleasantly surprised to the contrary by another poster, but my first reaction is "no".

Member Avatar for chmac
0
263
Member Avatar for jman25

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.

Member Avatar for shahdhruv
0
440
Member Avatar for d0d0

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 …

Member Avatar for Demondes
0
151
Member Avatar for DJ1UK

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 …

Member Avatar for gaumehta78
0
167
Member Avatar for Partydude4

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 …

Member Avatar for Partydude4
0
408
Member Avatar for symoore22

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.

Member Avatar for tgreer
0
193
Member Avatar for cssdev

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 …

Member Avatar for tgreer
0
130
Member Avatar for softmind82

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.

Member Avatar for tgreer
0
107
Member Avatar for red_evolve
Member Avatar for alpha_foobar
0
132
Member Avatar for stevoo
Member Avatar for Gary King
0
209
Member Avatar for Letscode

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 …

Member Avatar for tgreer
0
247
Member Avatar for jerMAn

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.

Member Avatar for jerMAn
0
127
Member Avatar for sharp_edges

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? …

Member Avatar for Troy
0
255
Member Avatar for Ezju

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]

Member Avatar for Ezju
0
525
Member Avatar for red_evolve

Use a function. Set the onChange() handler to run this function. Call the same function at the conclusion of your "popup" script.

Member Avatar for red_evolve
0
97
Member Avatar for magusdf

I don't understand the need for JavaScript here. ASP.NET Forms authentication handles it all for you, including managing the cookies.

Member Avatar for magusdf
0
579
Member Avatar for Letscode

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.

Member Avatar for Letscode
0
335
Member Avatar for Horizon

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?

Member Avatar for Paladine
0
154
Member Avatar for ethveg

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);" /> …

Member Avatar for ethveg
0
196
Member Avatar for tishr

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 …

Member Avatar for tgreer
0
129
Member Avatar for toopie

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.

Member Avatar for southernlady
0
387
Member Avatar for tgreer

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 …

Member Avatar for tgreer
0
98
Member Avatar for cynch

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 …

Member Avatar for cynch
0
146
Member Avatar for cynch

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.

Member Avatar for cynch
0
239
Member Avatar for sm00nie

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.

Member Avatar for sm00nie
0
238
Member Avatar for akoloff

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 …

Member Avatar for Troy
0
199
Member Avatar for tgreer

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 …

Member Avatar for jwshepherd
0
214
Member Avatar for fineline

What authentication model are you using? Did you add the ASPNET user account to your ASP.NET application?

Member Avatar for Letscode
0
149
Member Avatar for Knoke
Member Avatar for ganesch

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 …

Member Avatar for tgreer
0
69
Member Avatar for larko_s
Member Avatar for belama

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.

Member Avatar for belama
0
198

The End.