Everything posted by ReadySetGo
-
How do I switch between two forms (using radio buttons)?
Hi. So, the idea is, you've got two forms, each with a different PHP script and other properties (EG, character limit). Instead of having two taking up space and being inefficient, the user can toggle between them using one of two radio buttons. I'd be very appreciative if someone would tell me how to do that. Thanks, you knowledgeable chaps.
-
Sidebar won't come all the way down to the footer...
Thanks User54, but I ended up solving it myself after an hour and a half of tedious code-combing, made worse by my inexperience and ignorance of HTML. Essentially, instead of this: <div id="content"> <div id="main"> </div> <div class="fixed"> </div> </div> <div id="footer"></div> I had this: <div id="content"> <div id="main"> </div> </div> <div class="fixed"> </div> <div id="footer"></div> I really hated that, and I still don't know exactly why I need a <div class="fixed"> before <div id="content"> ends or why putting it right after it ends created the problem I described, but whatever. It does and I'll never forget it.
-
How do you get the "disappearing text" effect you see in some text boxes?
Excellent. Thank you, mikejonesey. I really didn't know how to do it myself. My problem is syntactical ignorance, not knowing what should go where. Do you know of a good site in particular for that?
-
Sidebar won't come all the way down to the footer...
In every other browser I tried on my PC (IE7, Firefox, Opera, Chrome), it rendered fine. On my friend's Mac, which uses Firefox, the sidebar was separated from the footer by about an inch. Any idea as to why?
-
Google Maps
So it is possible, then? Awesome! Now, I don't currently have a search bar as I wasn't sure if what I wanted was possible or not. Now that I am sure, what would be the best way to go about implementing it? Do I really need a "search bar" since it'll only be doing this one function, or is it the same thing? Googling for the answer didn't turn up much, but maybe I'm not using the right keywords. Where should I look to get a basic input bar for what I want it to do? I don't want to treat you like a crutch, but I really know very little and am still finding my coding legs. Thanks a lot for your help on this, red-X. I'm glad you exist.
-
How do you get the "disappearing text" effect you see in some text boxes?
Hey, thanks guys. I didn't think it would get answered so quick. I'm still a bit lost on where to put it, though, since I'm really just beginning and whatnot. This is my form: <form action="mail.php" method="post" target="_self"> <textarea name="data" cols=31 rows=4></textarea> <input type="submit" value="Send"/> </form> Where should I put the code? There're only so many places and I feel like I've exhausted them all. What am I doing wrong?
-
How do you get the "disappearing text" effect you see in some text boxes?
Example: The text box says "Comment to your heart's content," which disappears when you click inside the box. I know how to put text in a text box in Dreamweaver -- the "Init val" field. But how do you make it disappear when the user clicks inside the box? Also, can you change the text's color within the text box? The Style drop-down menu in the form's properties doesn't seem to work. Thanks for your time.
-
Google Maps
Wow, you know your stuff, red-X. Thank you. I have another question for you (or any of you), though. Is the following doable: I have a search bar on my website The user types in "Newark NJ" (though it could be anything) When the Search button is clicked, a new window/tab opens (in this case) here Is there anything I can use to do that? A script, black magic, anything? Thanks again. P.S. Do you know why this code doesn't work here when it does in html testers? <a href="http://maps.google.com/maps?f=d&saddr=Newark+NJ&daddr=New+York+NY" target="_blank" rel="nofollow">Newark to New York</a>
-
Can you have text on the same line AND on opposite sides?
Hey, I think that's exactly what I need. Thanks so much.
-
Can you have text on the same line AND on opposite sides?
It would be as if the word "West" was aligned left and "East" was aligned right with both being on the same line. This is what I've been trying to do for an hour, to no avail. I don't know if you have to split the line so that they're separated by a column divider or what (not that I know how to do that anyway), but I'm a novice and am a bit lost. I need to use the space on both sides of the same line. Is that possible in DreamWeaver CS3? Thanks unto thee.
-
How do I get that "Comment Posted!" effect as seen on YouTube?
Hi. I guess my description was too long and got cut short. I'm referring to this: http://s4.tinypic.com/awq2pu.jpg I was looking at the source code for the buttons before and after posting, but couldn't figure it out. I'd like to be able to scroll through the message, too, like you see here: http://s4.tinypic.com/27yy7ms.jpg Does anybody know how? Much thanks.
-
Need some help with form-mailer specifics in Dreamweaver CS3
OK, solved it. This was my back-end script, called mail.php: <? $to = '[i removed my address]'; $subject = 'subject'; $message = 'From: ' . $_REQUEST['name'] . "\n\n" . $_REQUEST['data']; $email = $_REQUEST['email']; $headers = 'From: ' . $email . "\r\n" . 'Reply-To: ' . $email . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail ($to, $subject, $message, $headers); header("Location: index.html"); ?> The front-end is as follows: <form action="mail.php" method="post" target="_self"> <textarea name="data" cols=31 rows=4></textarea> <input type="submit" value="Send"/> </form> The front-end I of course just pasted into the code view of Dreamweaver. The back-end (mail.php) I had saved in my website's local root folder, which I had to open in Dreamweaver and use the Put command on. I wrongly thought using the Put command on my index.html file would push mail.php through as well. Hope me answering my own question helps someone with a similar problem.
-
Need some help with form-mailer specifics in Dreamweaver CS3
Hello, thread readers. Here the situation: I just want the simplest mail form there is. In fact, I don't even want a "name" or "email" field. I only want to have a comments box and a "Submit" button right there on my one-page site -- plain vanilla, as basic as can be. The catch is, I'm using 1&1 and Dreamweaver tutorials say I should get the server CGI script location from them. But 1&1 directed me to create one using their script builder, which doesn't offer nearly enough control for what I need at all. So, I'm at a loss. Can anyone clue me in on what I should do next? Thanks.
-
Google Maps
Hey fellows. I want to link someone to a Google Maps page with the destination already filled in and the cursor focused in the "From" field, like so: http://s4.tinypic.com/mueddj.jpg Now, can it be done? At first glance, the answer is "No, that's not possible." But, is it factually or theoretically impossible? Are there truly no means in the coding world that could achieve that end? Thanks.
-
Easiest way to put up a website?
Well, I'm going to do it myself -- no designer. I believe I've googled that query before, as I did after reading your post. The problem now as with then is that I'm only doing a one-page site. All the templates I've looked at are multi-paged with navigation links. I'm wondering if there's any lesser known, higher quality site or resource for customizing templates like that, so as to get a single-page layout. Sorry if I'm treading on ground with obvious answers. Also, thanks for the reply, Skysurge.
-
Easiest way to put up a website?
I have a very specific idea in mind for what I want, but that's taking too long and in the meantime I'd like to at least have something presentable up. So, do you fellows know of the best way to put up a website quickly? I looked into WordPress, but I'm not starting a blog and every template they have seems to be intended for blogs. All I want for the time being is a one-page site to put up some information. Trying to slog through DreamWeaver to make it do exactly what I want isn't the most timely endeavor right now. You guys outta know better than I, so what might you recommend? Thanks unto thee.
-
OK, I know nothing about getting PHP to work with DreamWeaver.
Thanks for the reply. I appreciate you putting forth the effort. By "local Apache server," do you mean one that I operate myself? I use 1&1 and have a basic account on their Linux systems (they had a Microsoft option as well). The rest of your post seems contingent on that...
-
OK, I know nothing about getting PHP to work with DreamWeaver.
I'm trying to get a mailer script to work, but I have no idea where to start. I don't even know how to insert a reference to the script's location in DreamWeaver! ALSO, I want to have "ghost text" instructions in the webform so that when users click in the box, that text disappears. Can PHP do this? If so... where do I start? I'd like to edit an existing script to do this if possible. Thanks a lot. EDIT: Alright, so I "found" the Code tab, which just goes to show how little I know -- you don't reference the script location, you insert the code directly. I took a 101 Java class a while back in making programs, so I've at least got some idea as to how code works. Inserting the script code and uploading to my page shows the all the script code and, for example, <?php get_data("comments"); ?> in the comment box. Not quite sure how to proceed.
-
Advice on PHP script?
Thanks ElanMan and Joff. My host is 1&1 and it supports PHP scripts. That mail form looks like what I need. I am a bit clueless, though, on how to insert this script into DreamWeaver. Can any of you give me pointers on that?
-
Advice on PHP script?
Hi, I'm new to website design and have only recently begun messing around with DreamWeaver (CS3). I've been told I should look into PHP scripts for some of what I want. Right now, that's a submission form visitors can use to send me messages, be it either to my webspace or email, though I'd prefer the latter. If anyone can advise me on this it would be much appreciated. Thanks.