Jump to content

Skemcin

Members
  • Posts

    2,684
  • Joined

  • Last visited

Everything posted by Skemcin

  1. np - sorry I couldn't offer a more definitive answer.
  2. take your friends receipt back to the store with your camera and get a new one!!:)I'M KIDDING - sorry if that spat of humor offended anyone - they have ways of finding out so its really not that realistic.Anyway, the only thing I could suggest if to do your research a a local photography store like WOlf or Ritz Camera - someone who specializes in it and see what they prescribe. My guess is that it would be a chip on the "motherboard" of the camera. If the manufacturer would rather replace the camera then the part, then the part if probably deeply integrated into the camera and hard, if not impossible to replace/repair.Thats my $.02 - so I guess I would just assume that you couldn't fix it and deal with it if the camera is that good - i.e. a Canon Rebel XOS 8 megepixel.
  3. I hope this requirement is not by choice and has to do with some legacy code issue. And do you need to shut out the entire site to non-IE users, or just certain pages - like ones using active x?
  4. Thats what I describe, a page for teh form, a page to process the form, and a third to say thanks. Now, many people prefer to make the first page conditional - so if you haven't processed the form, its shows you the form where if you did process the form it would show thanks.I won't go into the differences between asp, php, and cold fusion - that begin to be like talking about politics - everyone has their preference. All in all, asp is popular because microsoft added it to their web server - which is popular due to their "success". PHP is popular because its free and its not microsoft. Cold Fusion is the least popular (unfortunately) mainly becuase the server used to cost a lot and was less accessible the the others. But thats where the conversation on that needs to end in this post - someone can troll that in another topic.But back to the first part of your reply. Here is an example:contactme.cfm<div class="content"><cfif session.contactme IS "thanks"><strong class="pagetitle">Thanks :.</strong><br /><cfset session.contactme = "backagain"><cfoutput>I appreciate you taking the time to contact me. I will do my best to get in touch with you as soon as possible. If I do not get back to you with in 48 hours, please feel free to leave a message on my cell phone by calling #session.cellphone#.<br /><br />Talk to you soon<br /><br /></cfoutput><cfelseif session.contactme IS "backagain"><strong class="pagetitle">Hi Again :.</strong><br />You have already sent a message. If would like to send another message, please come back in an hour when your site session has expired. I apologize for the inconvenience, but this helps me keep the spammers from manipulating my website.<br /><br />Thanks again<br /><br /><cfelse><strong class="pagetitle">Contact Me :.</strong><br />Please fill out the form below and include any details about your question or comment in the message area. I appreciate your time and I will do my best to reply to you as soon as possible.<br /><br /><cfform action="contactme-action.cfm" method="post"><strong class="smallestfont">FULL NAME:</strong><br /><cfinput type="text" name="ctm_fullname" value="" style="width:250px;" required="yes" message="Please tell me who you are."><br /><br /><strong class="smallestfont">YOUR EMAIL:</strong><br /><cfinput type="text" name="ctm_youremail" value="" style="width:250px;" required="yes" message="I'll need your e-mail address to get back in touch with you."><br /><br /><strong class="smallestfont">SUBJECT:</strong><br /><cfselect name="ctm_subject" required="yes" message="Give me an idea why you are contacting me."><option value="">-- select one --</option><option value="Technical Support">Technical Support</option><option value="Commission Inquiry">Commission Inquiry</option><option value="Friendly Hello">Friendly Hello</option><option value="Emergency Issue">Emergency Issue</option></cfselect><br /><br /><strong class="smallestfont">MESSAGE:</strong><br /><textarea name="ctm_message" rows="7" cols="50"></textarea><br /><br /><input type="submit" name="ctm_form" value="SEND MESSAGE" style="width:125px: color:#666666; font-size:10px; font-weight:bold;" /><br /></cfform></cfif></div><br /> contactme-action.cfm <cfif #cgi.http_referer# CONTAINS "contactme.cfm" AND ISDEFINED("form.ctm_form")><cfmail to="#session.myemail#" from="#form.ctm_youremail#" subject="#form.ctm_subject#" server="#session.mailserver#" type="html"><br>#form.ctm_fullname#<br>#form.ctm_youremail#<br><br>#form.ctm_subject#<br>#form.ctm_message#<br><hr>IP: #cgi.remote_addr#<br>DATE: #now()#<br><br></cfmail><cfset session.contactme = "thanks"><script language="javascript" type="text/javascript"> document.location="contactme.cfm";</script><cfelse><cfoutput><script language="javascript" type="text/javascript"> alert('Invalid Page Request.\nClick OK to continue.'); document.location="#urlused#";</script></cfoutput></cfif> What you will see in the second codebox is how you take FORM values and use them. There are a couple other things happening here and a couple more that I have pulled out to reduce the length of the code I pasted.If you're not using Cold Fusion this will at least get you to understand the concept.P.S. I'm not using a thank you page in this example. I am posting back to the form page because I have logic there to prevent multiple posts within a certain period of time - to prevent form spammers from hitting my site.
  5. I might be able to whip something up . . . . it would allow you try any code, asp, php, and cold fusion. I'd build it so it would store your code in a database so it would be there . . . forever.
  6. Here is what you need:http://www.echoecho.com/jsframes02.htmBut, you mention "user friendly" which makes me ask, why are you using frames?
  7. If you want the TOP 4 records of from a table and the top 10 are tied for "first place", then you will need to add another field into your ORDER BY clause. On every database I ever made, I always included an automatically populated field for date_added. In your case, I would have my statement read like this: SELECT TOP 4 *FROM tablenameORDER BY number DESC, date_added DESC This way only the latest 4 of the 10 tied for will be outputed. You could interchange your primary key - if its an autonumber - with date_added.
  8. Welcome to the forums and congrats on the new site.The answer to your question is YES. There are many ways to do this depending on what your hosting service will allow. Since you mentioned you built this in HTMl and javascript, I am assuming that you have not used asp, php, or cold fusion - which will make what you want to do a little more complicated.In any case, I'd first check with your hosting provider to see if the statistical reporting they offer gives you the information you want. If it doesn't, then I'd begin to ask why you need to track the initial information from page to page. Whether you do or not, you will need to adopt a scripting language (mentioned above) in order to track the information - i.e. in a database.Does this help?
  9. Well, lets break it down so you can get an understanding about what you're venturing into.When you refer to "scripts" you must be talking about what is called a server-side scripting language. The most common ones used today are asp. php, and cold fusion. These languages, when coupled with a talented and knowledgable programmer, are used to produce web applications. The web applications interact with a database to deliver dynamic pages - i.e. auctions or discussion boards.I have to say that your initial inquery seems to be seeking a rather simply solution. If thats not the case, then I'm sorry for misinterpreting this. But for all intents and purposes, setting up an auction site is not simple and cannot be done overnight. Planning, planning, planning and some more planning along with some dedication will get you the site you want. I've seen many ideas (many good) come and go across my desk over the last 10+ years I've been doing this, so, please, just think through your idea and make sure you understand the full extent of your goal.Having said that, you will need to learn a scripting language (mentioned above) and a database (mysql, oracle, or ms sql) in order to build an auction site. As previously posted, you can download a pre-built discussion board and install that. You might find a pre-built auction application as well. Either way, pick a language and database and make sure all your applications use the same. Even if you use prebuilt sites, you will need to at least understand the underlying technology.Hope this helps.
  10. there are plenty of discussion boards available - just google themBascially, you download a board, unzip the files, upload them into a folder on your site, set up the database, run through their set up scripts - basically just follow their installation instructions.As fro yoru auction site, I'm not sure what youare referring to when you say you need "scripts" and then "scripts that support the website". What do you mean?Do you want to build a content management system? Do you want customized "scripts" that allow you manage the site?Being vague in your requests make it hard to help. Try to search the internet a little more and define what you want to do - the more specific you are the more helpful we can be.Thanks
  11. Yes, you can. Most server side scripting languages allow you to capture that information. So you'd just have to database it. Irregardless, the IP address won't do much. If I am doing this from the local library, how are you going to single me out. If I access it from work, all 1,000 plus employees access the interest through the same global IP address.Its a waste of time . . .
  12. post your code and/or url so we can look at it.thanks.
  13. Duplicate topic, see this thread:http://w3schools.invisionzone.com/index.php?showtopic=951
  14. First, you will need to make sure you understand the different fields associated with this. At the very least, there are:a.) web designersb.) graphic designersc.) web developersd.) multimedia specialistA web designer is one who determines the layout and navigation - the overall structure and how everything fits together. The graphic designer is the one who creates the images from what the web designer envisions. A developer is the one who works in the code, creating the applications needed to make the vision. The multimedia deals with any audio, video, and animation requirements.Which ever route you go, there is a path to follow through school. You are either visually creative and therefore most likely to be a web designer, graphic designer, or multimedia specialst or you are more detail oriented and analitical which would put you down the web developer path.Jobs range from an entry level position like a content manager all the way up to an internet marketing manager. With most jobs, a two year degree will keep you in lower paying entry level job. A four year degree will put you in the middle of the road and a graduate degree will get you near the top.If you need any more information - go to your career counselor at school, they wil be able to help you with more specifics.
  15. what toolbar?Are you talking about a google or yahoo toolbar?If you are talking about all the buttons and software controls, the only thing you could do is have you homepage open your site in a new window created through javascript. In the javascript you can tell what parts (if any) of the software controls you want.The only problem is that if you want this automated, many new browsers will block an "onload" popup window and you'll be left with your black homepage. You'd have to leave a back upload link there to make sure people could eventually enter the site.
  16. Skemcin

    Pausing Flash

    just add that many more frames to the movie if the pause is not working.
  17. Hi and welcome to the forum. I'll first point out that no one will be e-mailing you or instant messaging you. The whole point of an online discussion board is to do just that - have an online discussion. This allows others to see a problem and as well as the solution - its all shared.Having said that, it would seem that the images are not uploaded to the cirrect directory. Check the location of you images locally and make sure they are in the same respective folder online.
  18. Skemcin

    Jonas

    lol - you need to find a way to view it - maybe try Firefox . . .
  19. with all due respect - you should really sit down and figure out where you want this to go. if you see this staying a small mom/pop shop, then I'd save yourself some trouble and look at the various shopping cart options that places like yahoo and ebay offer. just like kcarson mentions about paypal, these will take a lot of application issues off your shoulders. You don't want holes in your cart that allow it to be hacked - don't mess with people and their money.having said that, don't let that stop you from learning asp, php, or cold fusion. Just don't bite off more than you can chew. Use a third party shopping cart and fine tune your html and php skills on the pages out-lying pages that support your cart.
  20. In my post I gave you this code:onclick="document.formname.formfield.value='';" (those are two single quotes next to "value=")that, or something close, should work. But you need to add the "name" attribute to your form to identify it.I'm not sure what you want to accomplish with the counter. If you're comments are databased, then you just need a query to get the record count for each particular comment . . . need a little more information.Post that question as a new topic so it will be visibile - instead of tucked away here.
  21. Skemcin

    Center a Link

    just some incorrect tag placement, omissions, and typos: <html><head><style type="text/css">h5 {text-align: center}</style></head><body>this is in the body and im about to linkhere<a href="blah.htm">This is the part i want to link</a>and i tried doing this<a href="blah.htm"><h5>This is the part i want to link</h5></a>and it didnt workguide me please</body></html> a.) spelled "align" wrongb.) <head> tag should not be inside the <body> tagc.) <style> tag is never closed
  22. Welcome to the forums. The process that has been described goes like this:a.) code a page that has a form on it that collects the information you want. This is done with HTML - call it contactme-form.htmb.) code a page that will process the information that is submitted by the form - call this page contactme-action.cfm. To work "action" attribute in contactme-form.htm is set to equal contactme-action.cfm.c.) the form processing page (the action page) is processed on the server. So a server side language must be used. Since my example uses ".cfm" I am implying the use of Cold Fusion. If you choose so, you can just as easily change that to ".php" or ".asp" depending on your preference or what server you have.d.) when contactme-action.cfm is done taking the form information in and sending the e-mail, then it woudl be coded to then redirect to a confirmation page - call it contactme-thanks.htm.Does this outline it a little better?All in all - you will need a server side scripting language to do this unless you find a free internet email gateway.
  23. here is some code that was requested. it is an example of how you can have a navigation on one page load content into a selected area without reloading the page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>xxxxxx</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="author" content=""><meta name="robots" content="nofollow"><!-- prevent caching in netscape. very important cause netscape tends to mangle cached code --><meta http-equiv="expires" content="0"><meta http-equiv="Pragma" content="no-cache"><script language="javascript" type="text/javascript">/************************************************ Switch Content script- © Dynamic Drive (www.dynamicdrive.com)* This notice must stay intact for use* Visit [url="http://www.dynamicdrive.com/"]http://www.dynamicdrive.com/[/url] for full source code***********************************************/var enablepersist="on" //Enable saving state of content structure? (on/off)if (document.getElementById){document.write('<style type="text/css">')document.write('.switchcontent{display:none;}')document.write('</style>')}function getElementbyClass(classname){ccollect=new Array()var inc=0var alltags=document.all? document.all : document.getElementsByTagName("*")for (i=0; i<alltags.length; i++){if (alltags[i].className==classname)ccollect[inc++]=alltags[i]}}function contractcontent(omit){var inc=0while (ccollect[inc]){if (ccollect[inc].id!=omit)ccollect[inc].style.display="none"inc++}}function expandcontent(cid){if (typeof ccollect!="undefined"){contractcontent(cid)document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"selectedItem=cid+"|"+document.getElementById(cid).style.display}}function revivecontent(){selectedItem=getselectedItem()selectedComponents=selectedItem.split("|")contractcontent(selectedComponents[0])document.getElementById(selectedComponents[0]).style.display=selectedComponents[1]}function get_cookie(Name) { var search = Name + "="var returnvalue = "";if (document.cookie.length > 0) {offset = document.cookie.indexOf(search)if (offset != -1) { offset += search.lengthend = document.cookie.indexOf(";", offset);if (end == -1) end = document.cookie.length;returnvalue=unescape(document.cookie.substring(offset, end))}}return returnvalue;}function getselectedItem(){if (get_cookie(window.location.pathname) != ""){selectedItem=get_cookie(window.location.pathname)return selectedItem}elsereturn ""}function saveswitchstate(){if (typeof selectedItem!="undefined")document.cookie=window.location.pathname+"="+selectedItem}function do_onload(){getElementbyClass("switchcontent")if (enablepersist=="on" && getselectedItem()!="")revivecontent()}if (window.addEventListener)window.addEventListener("load", do_onload, false)else if (window.attachEvent)window.attachEvent("onload", do_onload)else if (document.getElementById)window.onload=do_onloadif (enablepersist=="on" && document.getElementById)window.onunload=saveswitchstate</script><style type="text/css">.switchcontent { margin:0px; padding:15px; border:1px solid black; display:hidden; position:absolute; top:0px; left:100px;}</style></head><body bgcolor="white" marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"><a name="top"></a><!-- begin navigation for detailed information --><a href="java script: void(0);" onclick="expandcontent('aaaaaa');" title="AAAAAA">AAAAAA</a><br><a href="java script: void(0);" onclick="expandcontent('bbbbbb');" title="BBBBBB">BBBBBB</a><br><a href="java script: void(0);" onclick="expandcontent('cccccc');" title="CCCCCC">CCCCCC</a><br><div id="aaaaaa" class="switchcontent"><strong>Paragraph AAAAAA</strong><br />I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdgnieg.<br /></div><div id="bbbbbb" class="switchcontent"><strong>Paragraph BBBBBB</strong><br />The phaonmneal pweor of the hmuan mnid. Aoccdrnig to a rscheearch sduty at Cmabrigde Uinervtisy, it deosn't mttaer inwaht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae.<br /></div><div id="cccccc" class="switchcontent"><strong>Paragraph CCCCCC</strong><br />The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.<br /></div></body></html> Just remember, content that is hidden can't be spidered by many search engines.
  24. Skemcin

    Jonas

    I won't tell the folks at Opera about this:http://video.google.com/videoplay?docid=3908309829962763267
  25. Does this article help any?http://samples.gotdotnet.com/quickstart/as...vicesintro.aspx
×
×
  • Create New...