888 Posted Topics

Member Avatar for csi_a_m

I moved to Web Hosting, Server configuration. Your question isn't a scripting question, and I think the folks most qualifed to answer the question will be in this forum instead.

Member Avatar for tgreer
0
127
Member Avatar for tgreer

I've often wanted a true blog/forum hybrid. I know exactly what I want, until I try to describe it! I think I basically want a forum, but one that doesn't look so rigidly structured as a forum. Also, I want something a bit more user-oriented, than topic-oriented. I'd like a …

Member Avatar for CharlesECHO
0
112
Member Avatar for meggsie

Troy is absolutely correct. From your code posting, I can see that your server-side language is JSP. JavaScript is client-side. There is nothing you can do CLIENT-SIDE to build an array from data that exists on the SERVER. Therefore I'm moving this thread to the JSP forum. I wish you …

Member Avatar for tgreer
0
449
Member Avatar for realitypixels

"Layer" is not a standard term for web development. If you're referring to a div element, you should use the term "div" or "block-level element". How are you positioning the element? Via CSS? Or with JavaScript?

Member Avatar for tgreer
0
117
Member Avatar for Dragonbssj

Yep. That site is mal-formed. The "txt" extension has been given to a sound file. Firefox simply prompts you to open the file or save it.

Member Avatar for tgreer
0
468
Member Avatar for Maisie

Since you're learning, which is fantastic, I won't give you a complete answer. I think you should research "Regular Expressions", often referred to as "regex".

Member Avatar for sunshine2
0
84
Member Avatar for willsteele

What is a "hover box"? When you say you "want it to go to another URL", what is the "it"? What's wrong with a standard hyperlink?

Member Avatar for tgreer
0
191
Member Avatar for maninweb

This probably isn't a JavaScript problem. It could be a problem on your machine. Does anyone else experience the problem on your site?

Member Avatar for maninweb
0
406
Member Avatar for cynch

If you have a programming question, I could probably help. If you want a premade menu script, there are lots of them out there. The Google Ads associated with this thread might be a good place to start.

Member Avatar for tgreer
1
169
Member Avatar for venetian_jigsaw

What doctype are you using? Without a doctype, you'll have different behaviors in different browsers. Try adding "margin: auto;" to your div's inline style declaration.

Member Avatar for tgreer
0
238
Member Avatar for taparca

You can do this with a Server Side Include (SSI). The syntax depends upon what server you are running. Is the site run with ISS, Apache? Does the server support PHP, ASP, or what? A purely "client-side" technique is to write the content of that section of each page via …

Member Avatar for peter_budo
0
139
Member Avatar for Dark_Omen

You return a SqlDataReader as the result of the .ExecuteReader() method of the Command object: [code] SqlConnection myConnection = new SqlConnection(myConnectionString); SqlCommand myCommand = new SqlCommand(mySelectQuery, myConnection); myConnection.Open(); SqlDataReader myReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection); while(myReader.Read()) { Console.WriteLine(myReader.GetString(0)); } myReader.Close(); //Implicitly closes the connection because CommandBehavior.CloseConnection was specified. [/code]

Member Avatar for Dark_Omen
0
131
Member Avatar for tgreer

At my various jobs, I've always introduced what I call the "dot game" to my team. Start by placing three dots on a whiteboard (or paper, of course). Draw a line between any two dots. Place a new dot anywhere on the line. A dot can only have three lines …

Member Avatar for server_crash
0
136
Member Avatar for augie0216

So this is a web app then, correct? Then the files should be in a folder accesible to the web app, not the root of your server. Do you need help using StreamReader, then?

Member Avatar for tgreer
0
122
Member Avatar for DeborahJT

It's just "print()". You can get PHP hosting affordably. Lots of options. I use a company called "ShinySolutions": [url]http://www.shinysolutions.com[/url]

Member Avatar for DeborahJT
0
260
Member Avatar for belama
Member Avatar for belama
0
139
Member Avatar for hbmarar

What is a "lacation reading"? I find it difficult to visualize your scenario. Can you post a link to the site?

Member Avatar for hbmarar
0
223
Member Avatar for Jay77

The quintessential example of CSS menus is the "suckerfish dropdowns". Note that a "dropdown" is equivalent to a "flyout", I think. If you do a web search for "suckerfish dropdowns", you'll find everything you need. If not, just post questions to this thread and we'll work it out.

Member Avatar for tgreer
0
150
Member Avatar for Jayakumar R

ViewState can be very tricky. Try using a Session state variable for this, or, the tried-and-true method of writing a cookie instead.

Member Avatar for Jayakumar R
0
174
Member Avatar for j-w-thomas

I'm sorry this went unanswered, I hoped someone else would chime in. Without server-side coding, the only suggestion I have is to setup a mail group in your mail server. Your form submits to one email address, and your mail server then distributes to the group.

Member Avatar for tgreer
0
122
Member Avatar for Ghost

Create your own 404 page: [url]http://www.4guysfromrolla.com/webtech/061499-1.shtml[/url] [url]http://www.thesitewizard.com/archive/custom404.shtml[/url] [url]http://www.highcontext.com/Articles/howto/404.php[/url]

Member Avatar for tgreer
0
230
Member Avatar for RussGreen

That would violate the browser security model. Browsers are not supposed to author files on a user's system. The exception that has been provided is the cookie mechanism. Even if you use StringBuilder to build a "file"... what are you going to do with it? You have to render something …

Member Avatar for tgreer
0
135
Member Avatar for liliafan

The problem with xhmtl, css, and height, is that percentage heights refer to the percetange of the containing element. The parent element is "body". So, you have to give the body tag a height of 100%, as well as all child tags.

Member Avatar for liliafan
0
215
Member Avatar for Killer_Typo

I would take a different approach. I would GENERATE the CSS from values stored in a database. Allow the users to modify these values, not by editing the CSS, which most users won't be skilled enough to do, but rather by presenting a standard data-entry form. If you want to …

Member Avatar for Killer_Typo
0
136
Member Avatar for nandoo

The typical way to do this is to create all the controls you need in the original document. You set the CSS Visibility property to "hidden" for the controls you don't want to show. Then, code for some event (like a button click). The event handler would set the visibility …

Member Avatar for tgreer
0
130
Member Avatar for RustyShock

Create an array. Store the ID of the DIVs into that array when the user makes them visible. Each time they click a link to make a div visible, iterate through the array, toggling all the other divs.

Member Avatar for tgreer
0
173
Member Avatar for dakkar

On a large system I helped develop, we had this issue. Customers could order various products for print, and see a real-time PDF of the customized product before they ordered. Each product could have a custom form, and each form element could have custom validation. We didn't find any shortcuts! …

Member Avatar for Duches77
0
301
Member Avatar for autocrat

I don't... that's what scrollbars are for! I know you want an actual answer, not a lecture. Look at the "scrollTo" method, that should get you started. However, consider that you are replicating a function that already exists and that users expect. When you take away something that a user …

Member Avatar for autocrat
0
173
Member Avatar for charitiesonline
Member Avatar for Dani
0
135
Member Avatar for gaetano

I noticed this was unanswered. Speaking only for myself, I don't understand some of your terminology. I don't understand, when you speak of "arrays", whether you mean ASP arrays, JS arrays, or what. Can you post some sample code? Or just describe in plain English what you're trying to do?

Member Avatar for gaetano
0
292
Member Avatar for GR Web FX

The exact formula isn't published. But it isn't links from your site, it's links TO your site, that count. And those links are also weighted by the "rank" of the page linking to you. If you can get MicroSoft to link to you, for example, that link would be "worth" …

Member Avatar for therteam
0
86
Member Avatar for tgreer

Let's see if I can completely strike-out, with a third unanswered post: I would like to know how to store binary data in the app.config file for a C# application. These are basically text strings, but they do include one or two "binary" characters, such as decimal 12. I need …

Member Avatar for Iron_Cross
0
187
Member Avatar for belama

Since you asked for a "site", I suggest doing a web search for "suckerfish dropdowns".

Member Avatar for Aztech
0
412
Member Avatar for tgreer

Since nobody answered the thread on Binary File IO, I took a different approach. Now I'm having another problem. As I process a very large (>2GB) binary file, I store the byte position at certain points. Then, I reposition the file as needed. I store the byte positions in a …

Member Avatar for alpha_foobar
0
357
Member Avatar for KG800

I would suggest using a control that supports custom paging, but that wouldn't help in your environment. I would have a loop, reading your products out of a database. Write pure HTML out to a file. Use a counter, when your loop iterates through a given number of products, close …

Member Avatar for KG800
0
220
Member Avatar for Secret Agent

It's going to be difficult to help you with a coding issue if you don't write code! Part of the issue is determining what, exactly, you want to "hover over". If you want to hover over an image or a hyperlink, then the basic is to supply the "alt" attribute. …

Member Avatar for alpha_foobar
0
307
Member Avatar for jbade

Hmm. Hard to answer without seeing the code and pages. My guess, and it's just a guess, is that CSS is positioning the various elements, so digging though the code-behind pages won't help you.

Member Avatar for jbade
0
126
Member Avatar for tgreer

A software vendor has expressed interest in sponsoring my site. They asked me to author a marketing proposal. Basically, I would run their banner in selected spots, as well as let them send out mailings to my site members who have opted-in. This in exchange for a set montly fee …

Member Avatar for Dani
-1
113
Member Avatar for manucherian3031

Or, the "web" domain can simply connect to the database on the other server. Nothing fancy, just a basic connection string.

Member Avatar for tgreer
0
114
Member Avatar for squeakerz83

That's a very bad idea. A user could craft any statement they like? They could wipe out the entire database. Your question is a bit too general to give a meaningful answer. Give them a textarea, and pass in what they type as the value of the CommandText property.

Member Avatar for Paladine
0
93
Member Avatar for buddyb
Member Avatar for jimbob8472

[url]www.w3.org[/url]. They have validators and badges you can post on your site.

Member Avatar for tgreer
0
75
Member Avatar for moderate_rock48

Dare I say it. I like the layout. I'm not a big fan of the color scheme. I'm typing this reply in a 3-toned pastel purple box. I have the faint taste of grape Bubblicious bubblegum in my mouth. I have the urge to draw a unicorn, and change all …

Member Avatar for Alcides
0
655
Member Avatar for mtumavrick
Member Avatar for Khishin

I have a thorough article on my site dealing with the thorny topic of dynamic controls: [url]http://www.tgreer.com/aspnet_html_04.html[/url] Let me know if it helps.

Member Avatar for tgreer
0
129
Member Avatar for Tdot

I'm having difficulty understanding the question. What attempts have you made so far to write this script? If you want to capture the mouse movement and have it fire a JavaScript function, you'll have to use browser-specific code: [code] // id browsers var iex=(document.all); var nav=(document.layers); var old=(navigator.appName=="Netscape" && !document.layers …

Member Avatar for Tdot
0
192
Member Avatar for DeFrog777
Member Avatar for belama

You need to empty the current selection range. [code] function addtb() { document.selection.empty(); document.getElementById("TextEditor").focus(); cmd = 'InsertInputText'; document.getElementById('TextEditor').document.execCommand(cmd,'true'); var TE = document.getElementById('TextEditor'); var TEcn=TE.children; for (i=0;i<TEcn.length;i++) { n++; if(TEcn[i].id == "") TEcn[i].id = "tb" + n; } } [/code]

Member Avatar for belama
0
182
Member Avatar for Dani

Just my $0.02 worth to the conversation... I know this might sound arrogant, but I feel that providing quality content through good posts is my contribution to a forum. I don't mind ads, in fact, I vigorously support them, as long as they are professional and don't get in the …

Member Avatar for Young Teck 06
1
337
Member Avatar for mark25787

As another idea, look at the DOM properties for "screen.width" and "screen.height". Based upon those, you could use JavaScript to change the size of your window. The content should be structured either to resize automatically (use percentages, floats, etc. for your elements' size and position), or to stay centered.

Member Avatar for DaveSW
0
267

The End.