Jump to content

Skemcin

Members
  • Posts

    2,684
  • Joined

  • Last visited

Everything posted by Skemcin

  1. You will enjoy Flex2 then. It is action script combined with XML and it creates server side flash applications - its like AJAX on steroids.http://www.adobe.com/devnet/flex/http://www.adobe.com/devnet/flex/articles/...flex_part1.htmlhttp://www.adobe.com/devnet/flex/articles/...flex_part2.htmlhttp://www.adobe.com/devnet/flex/articles/...flex_part3.htmlhttp://www.adobe.com/devnet/coldfusion/art...grate_flex.htmlhttp://www.adobe.com/devnet/coldfusion/articles/fr_fds.htmlhttp://flex.org/http://try.flex.org/
  2. Skemcin

    Welcome

    we just want to see how many people are bored enough to find this thread.
  3. please, don't put the undue pressure on yourself to think this is a life defining decision. Every job is a stepping stone to your future. I went from managing a ski and golf resort to being a senior web developer at a large non-profit in a matter of a couple of years. Here is one rule of thumb I stand behind 100%, make sure that whatever job you have when you get out of school, you DO NOT keep it for more than 5 years. This may not apply to everyone, but an overwhelming majority of people have been found to be happier in their life and career if they moved on after 5 years. After that, its all open. But don't get locked into that first job - unless it really, really is the one.Anyway, I think hardware might be the best, most rewarding job in the short term. It will allow you enough free time to dabble in the programming on the side. The networks you install will give you the background that only makes your programming that much more respectable - trust me. I know infrstructure technicians that would love to "kill" programmers cuz they constantly blame the network for their program's slow performance. If you have the background, then your applications respect that. I know this first hand as that is how I've evolved as well. My apps run fast and clean and my server performance reflect that - if you were here, you could ask our Network Services team the difference between my app servers and my co-worker's app server performance. I do not mean to sound boastful, just making the point that the background only makes you better - especially in an interview. Big difference in saying, "Yeah I am an excellent ASP programmer, 7 yrs experience" versus "Yeah I am an excellent ASP programmer, 5 yrs experience coding but 2 years networking, my apps are optimized since I am knowledge of the networks they run on."
  4. Skemcin

    Domain Name

    well I don't know what vchris.net is either but I like the fact that it is short, simple, and easy to remember. I'd go with that since it seems to fit more than anything else. Plus, I've told many clients to use a nickname or some version of their name (not too often their full name) since it doesn't lock you into that one thing. If you choose vchris.net your site could say you are a professional photographer on Sunday and if you have a mid live crisis and decide to be an auto mechanic, you just upload a new site - voila, instant career change.:-)
  5. RANDOM IMAGE LOADER script added.
  6. Try a couple of these solutions:http://www.google.com/search?q=is+in+a+sco...+an+active+lock
  7. Skemcin

    Domain Name

    choosing a name for a site/business can be hard. I have a few that I've thought over the years that I still have plans to use. Its whatever you feel works. I like tree frogs (or did until my step-mother decided I collected them and then everything I got from anyone was a freakin tree frog). Anyway, so I chose, iribbit. I - for internet and for me/I. and Ribbit cuz thats what frogs do. So "iribbit - do you?" came to be a slogan as well as "jump in to the the online experience" and that gave way to jumpin@iribbit.net. So several little play on words and i have a "cute" little brand.And that brings me to my point - branding establishes EVERYTHING about you. You could be the badest, meanest, most awesome programmer but a business name like "pussywillow productions" might not represent you that well.So think of not only the name but what you can do with it - both visually and textually - if your intent is to have it for a while.Instead of "Deep Coding" maybe "inCoding" and use "in" for internet and for the fact that what you do is "in" - you know hip, current, cool. In fact, the .net address is available:http://whois.domaintools.com/incoding.netThose are my initial thoughts. I'd give it more thought, but I have tons to do tonight - sorry.
  8. try using:#createtimespan(0,0,2,0)#for your sessiontimeout attribute in your <cfapplication> tag. That would be days, hours, minutes, seconds.Then, try it without the cflock, too.See if that helps. <cfapplication sessionmanagement="Yes" sessiontimeout="#createtimespan(0,0,10,0)#" name="prtr" clientmanagement="No"><cfparam name="Session.UserName" default=""><cfparam name="Session.LoggedIn" default="0"><cfparam name="Session.UserType" default=""><cfparam name="session.allowin" default="false"><cfif session.allowin neq "true"> <cflocation url="index_e.cfm" addtoken="no"> <cfabort> <cfelse> <form name="loginform" action="validate_e.cfm" method="get"><input type="hidden" name="user_required" value="Please input a Username"><input type="hidden" name="pass_required" value="Please input a Password"><p>Username: <input type="text" name="user"></p><p>Password: <input type="password" name="pass"></p><p><input type="submit" value="Submit" name="loginsubmit"></p></form></cfif>
  9. please do not do this . . . you will loose and tick off a lot of users. Usability studies show that people set their browser windows to certain sizes to accommodate their desktop workspace. By forcing the window to a certain you disturb that configuration and (these days) trigger the thought that a person has been hit with a virus. All you need to do is disclaim the fact that the site is best experienced at full screen and then give them a link.
  10. Then, there is Flex2:http://www.adobe.com/devnet/flex/articles/...aining_ch1.htmlthis is going to be big stuff . . .More Info:http://www.adobe.com/devnet/flex/articles/...flex_part1.htmlhttp://www.adobe.com/devnet/flex/articles/...flex_part2.htmlhttp://www.adobe.com/devnet/flex/articles/...flex_part3.htmlhttp://www.adobe.com/devnet/flex/http://try.flex.org/http://flex.org/(I've got more)
  11. Why do you need two seperate application.cfm pages?In any case, try using client side redirects - use javascript instead of the cflocation - see if that makes a difference. My guess would be that the cflocation is never giving the client a chance to register itself as being logged in - I only use cflocation with 301 redirects - everything else I waste the bandwidth and go back to the client so I know anything I have defined on that page prior to the redirect will hold.OLD <cfif Session.LoggedIn eq 0> <cflocation url="../login_e.cfm"></cfif> NEW <cfif Session.LoggedIn eq 0><script language="javascript" type="text/javascript">// alert('Optional Alert Message.\nClick OK to Continue.');document.location="../login_e.cfm";</script></cfif>
  12. Skemcin

    What now?

    I'd ask, why doesn't everyone just use ColdFusion and Javasscript. CF is easy to learn, its free, and its a tag based language, and its built on a J2EE platform.This is going to be a conversation that goes on for years - why buy GM instead of Ford. Why buy BMW instead of Mercedes. . .
  13. try googling something like:website "color palate" guidelines
  14. The good news is, you have several options. The bad news is, each cost your money or skill that you may or may not have. So, here are a few bullet pointed: Click a button and download a Word doc that has instructions on how to submit the form (email or snail mail) Download a PDF and do the same as stated (more universal) Create/download a PDF with submit button to email form to specified address Learn a scripting language (asp, php, coldfusion) and have the HTML form processed by it on the server What is important to note is that IF you use an online form, you will have to investigate the use of SSL - secure socket license. This will encrypt the information being posted so that it is very very difficult to decode if it happen to be intercepted by some jerk with too much time on their hands (a.k.a. hackers). Since you mentioned real estate, you better make sure you are using SSL on your forms or you (yes as the web developer) could be held accountable for the theft of information by way of your application.BTW, these are ordered from least desirable first to most desirable mentioned last.
  15. interesting, but I am not sure i can completely or directly answer it.If you are using built in ColdFusion validation, then you are stuck with their server side written javascript - which is good for simple things but very restricting for advanced validation.Given the fact that the validation is using hidden fields (never heard of that), it would seem that you are using a developer written validation script. So, looking at each submit button should tell you something. If, there is not a "onclick" attribute being used or if there is and both buttons are calling the same script, then the script is doing all the conditional logic. So, you might have to modify that to where you would have two scripts or at least one with two distinct functions (versus one). Then, the "onclick" attribute for each button would be unique to the button being used.Does this help any?
  16. I've added a javascript random image snippet here:http://w3schools.invisionzone.com/index.php?showtopic=9500
  17. Why is everyone in such a rush these days. I don't even have to look at it. Can you (or anyone) tell me why it is so apparently impressive to build a website faster than I can type supercalifragilisticexpialidocious?Assuming that you copied and pasted the stylesheet (once you created it) into the body of your page and assuming that you used the standard principle of time of site planning = time of site development, here are my conclusions:You have average typing skills at 61.6 words per minute. This site seems to be nothing more than an experiment yet there are folks who might use it. But I am too conditioned to think that websites are built for a purpose which this one would not be conducive to other than proving that you know a little HTML and CSS and can upload a page to a website.
  18. Skemcin

    CF Book

    The first seven chapters of the first book I mentioned could probably be skipped - thats 160 pages right there - given your level of knowledge. The next 11 chapters (320 pages) would be good to review even if parts reiterate what yo might know. The rest of the book covers a variety of intermediate and advanced techniques that I think are worth at least becoming familiar with - not learning completely until you come to a need for it - but without know what you could do, you'll never know if a solution is possible or if there is a more efficient way of doing it.In any case, the 21 Days book is very straight forward and I think you would like it.Come to think of it - you might even consider the "Developer Study Guide" for the ColdFusion MX Certification exam.If has some pretty interesting stuff.author: Ben FortaISBN: 0-321-18058-5Here are other ISBN numbers for the text mentioned:0-321-22367-50-672-32432-60-321-29269-3
  19. Skemcin

    CF Book

    Anything authored or co-authored by Ben Forta.Here are his latest:http://www.forta.com/books/I also have:http://www.amazon.com/Sams-Teach-Yourself-...n/dp/067232279Xplus a couple more.
  20. In these cases, I often try to set and reset variables: <cfloop index="i" from="1" to="#form.extra#"><cfset xname=evaluate(form.extraName_#i#)><cfset xname=len(xname)> You might have to rewrite some other logic, but breaking it up can often make it easier.FYIAs a side note, overall performance is faster by omitting the # in ColdFusion tags when possible.For instance:<cfset xname=len(xname)>instead of<cfset xname="#len(xname)#">
  21. Try this:http://w3schools.invisionzone.com/index.ph...ost&p=50962BTW, that is Dreamweaver Generated code - I've always preferred hand written scripts - much cleaner.
  22. If you have a script that is simple and easy to use, please send it via PM along with an example where it is being used (live web page) and what purpose it serves. Here is a list of other requirements: Code MUST be helpful to common/daily use, not a customized solution. Code must be compatible with IE,NN,FF,OP on PC and MAC. Code must be commented to describe appropriate functions, conditions, and variables. If you have any questions, please send me a PM. Do not expect a quick turnaround on posting submissions. I will get to them when I do but I feel that a two or three day turn over period is reasonable.PLEASE, do not go googling solutions and submitting them. I just want simple easy to use COMMON scripts. If this becomes burdensome then I may stop this all together. So use it, don't abuse it.Thanks.SSL REDIRECT <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: use this script to sniff out and redirect a page that you want to force to be loaded in and SSL.// necessary mods: simply change the "yourdomain.com" to the root url of your site and place the script between the <head> tags of the page you wish to load in a secure environment.if (document.location.protocol != "https:") { document.location.href = "https://www.yourdomain.com" + document.location.pathname;};//--></script> ALERT/REDIRECT (variation I) <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: used best inside a server side scripting language conditional statement, this sends and alert to the client and then goes to the previous page.// necessary mods: simply change the "Your Message Here" to a user friendly message that communicates the reason for the redirect.alert('Your Message Here - please try again.\nClick OK to continue.');history.back();//--></script> ALERT/REDIRECT (variation II) <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: used best inside a server side scripting language conditional statement, this sends and alert to the client and then goes to a specific page.// necessary mods: simply change the "Your Message Here" to a user friendly message that communicates the reason for the redirect. For this variation, also change the "pagename.htm" value to the target of the redirect - absolute or relative path.alert('Your Message Here - please try again.\nClick OK to continue.');document.location="pagename.htm";//--></script> POP-UP WINDOW <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: create a popup window at a certain size and location with desired functionality// necessary mods: each yes/no value can be changed to accommodate desired functionality while the height and width integers can be change to determine the size of the window. The "top" and "eft" integers allow the popup window to be positioned relative to the top-left corner of the client's monitor. Change the "HelpWindow" name ot assign a desired name to the window.var features="status=no,scrollbars=yes,resizable=yes,menubar=yes,width=385,height=500,top=75,left=75"; function Info(x){ //window.name = "HelpWindow"; var openit = window.open(x, "HelpWindow", features); }//--></script> <!-- link code used to call popup - change the values used to reflect your page(s) accordingly --><a href="java script: void(0);" onclick="Info('pagename.htm');" title="text link name">text link name</a> SIMPLE MOUSE OVER <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: image rollover - partI// necessary mods: replace "aPageID" with the corresponding unique name used in the html provided below and replace "apagename_off" and "apagename_on" with the corresponding image that is the mouse off/on look/design. Save as a separate .js file and reference on every page using mouseovers by using the <script language="javascript" type="text/javascript" src="rollover.js"></script>if (document.images){ aPageIDOn = new Image(); aPageIDOn.src = "images/apagename_on.gif"; aPageIDOff = new Image(); aPageIDOff.src = "images/apagename_off.gif"; bPageIDOn = new Image(); bPageIDOn.src = "images/bpagename_on.gif"; bPageIDOff = new Image(); bPageIDOff.src = "images/bpagename_off.gif";} function SwitchImage(locat,name) { if (document.images){newBar = eval(name + ".src"); document [locat].src = newBar; }} //--></script> <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: image rollover - partII// necessary mods: none - just put this in the <head> tags on any page where a mouseover is to be used.function SwitchImage(){}//--></script> <!-- // author: skemcin// description: image rollover - partIII// necessary mods: assigning variables and page references as follows:- replace "apagename.htm" with the target page you with to take the visitor to- replace "aPageID" with the corresponding unique name used in the javascript provided above- replace "apagename_off" with the corresponding image that is the mouse off look/design- replace "xx" with the appropriate widtha nd height of the image used as the rollover--><a href="apagename.htm" title="aPage Title" onmouseover="SwitchImage('aPageID','aPageIDOn')" onmouseout="SwitchImage('aPageID','aPageIDOff')"> <img id="aPageID" name="aPageID" src="images/apagename_off.gif" width="xx" height="xx" border="0" alt="aPage Title"></a><br><a href="bpagename.htm" title="aPage Title" onmouseover="SwitchImage('bPageID','bPageIDOn')" onmouseout="SwitchImage('bPageID','bPageIDOff')"> <img id="bPageID" name="bPageID" src="images/bpagename_off.gif" width="xx" height="xx" border="0" alt="bPage Title"></a><br> RANDOM IMAGE LOADER <script language="javascript" type="text/javascript"><!--//// author: skemcin// description: random image generator - place this code exactly where you want the random image to be rendered.// necessary mods: you will need to do the following things to make this work as desired:// - change "_random/" to the relative or absolute path of the folder where you will store your random images - I highly recommend keeping these seperate from all other images as it makes it easier to maintain.// - change or remove "theme_fall_" to your desire. I use it to to uniquely identify a series of images that are related. It is prepended to the random number javascript create whihc in turn constructs the filename used to render/locate the image// - change or remove "width='150' height='100'" the width and height are optional - if you know all your images are the same dimensions, I would recommend keeping them. If, for whatever reason, you wish to have images that are a variety of sizes, then remove these so they are not physically constrained.// - convention - this is the most important thing!! most random scrips have you define the file names in the script - making it harder to change them around. This script relies on what I have found to be a typical habit and that is to simply name all your images the same name but adding a number on the end.// - change "27" to reflect the highest number assigned to your files. Since this is javascript, you must have a zero(0) image defined since that is where javascript begins to count image0.gif, image1.gif, image2.gif . . . random_num = (Math.round(Math.random()*27)); // example of a n image this would find is: http://www.yourdomain.com/_random/theme_fall_12.gif document.write("<img src='_random/theme_fall_" + random_num + ".gif' width='150' height='100' hspace='0' vspace='0' border='0'><br />");//--></script> SHOW/HIDE SCRIPT <!--// author: (as noted in script)// description: Part I - show/hide javascript// necessary mods: none// use source: http://www.iribbit.net/i/_files/toggle.js--> <!--// author: (as noted in script)// co-author: skemcin// description: Part II - show/hide HTML code// necessary mods: change each of teh respective grp1, grp2, grp3, etc. values as needed - the link needs to be the same value as the div you want it to control. You can have multiple links control one div, just use the same ID in the link definition. However, only one div can be expanded at a time. Only the last div on the page will be expanded/collapsed if more than one div are given the same ID.// use source: http://www.iribbit.net/i/_files/toggle.htm--> SLIDING NAVIGATION <!--// author: prateek// description: Navigation effect that slides the link from left to right a certain amount of pixels.// necessary mods: nonefunction shiftMe(object, direction, pixels){ if (pixels==0)return; var obj = document.getElementById(object); if (obj.style.marginLeft=="") obj.style.marginLeft="0px"; var marginLeftVal=obj.style.marginLeft; var marginLeftInt=new Array(); marginLeftInt=marginLeftVal.split('p'); if (direction=="r") marginLeftInt[0]--; if (direction=="l") marginLeftInt[0]++; pixels--; obj.style.marginLeft=marginLeftInt[0]+"px"; timer=setTimeout('shiftMe("'+object+'","'+direction+'",'+pixels+')',1);}--> <div id="main"><a href="google.com" id="h2" onmouseover="shiftMe('h2','r',7)" onmouseout="shiftMe('h2','l',7)">Google</a><br><a href="google.com" id="h3" onmouseover="shiftMe('h3','r',7)" onmouseout="shiftMe('h3','l',7)">Google</a><br></div> FISH-EYE EFFECT NAVIGATION <!--// author: prateek// description: This navigation/text effect quickly but gradually changes the font size of the text as it is mouseovered// necessary mods: nonefunction changeTextSize(object,amount,direction){ if (amount==0)return; var obj = document.getElementById(object); if(obj.style.fontSize=="")obj.style.fontSize="16px"; var fontSizeVal=obj.style.fontSize; var fontSizeInt=new Array(); fontSizeInt=fontSizeVal.split('p'); if (direction=="m") fontSizeInt[0]++; if (direction=="l") fontSizeInt[0]--; amount--; obj.style.fontSize=fontSizeInt[0]+"px"; timer=setTimeout('changeTextSize("'+object+'",'+amount+',"'+direction+'")',1);}--> <div id="main"><a href="google.com" id="h7" onmouseover="changeTextSize('h7',13,'m')" onmouseout="changeTextSize('h7',13,'l')">Google</a><br><a href="google.com" id="h8" onmouseover="changeTextSize('h8',13,'m')" onmouseout="changeTextSize('h8',13,'l')">Google</a><br></div> See all these scripts in effect here!
  23. Skemcin

    Teamup!

    So, aspnetguy (a fellow moderator) has already pointed this out in general terms. Since you [ngaiox] did not quite get the message I was communicating in my original post, I will bring to light two specific examples of the attitude aspnet and myself are trying to bring to your attention Since, in this case, you are responding to a moderators request, this attitude is not appreciated - especially when we (specifically I) have already attempted to communicate how we feel.So, I will only ask this one more time in the public arena (future contact will be private), please take a few minutes to review your posts before submitting them to be sure that you have taken care in communicating your message without any smart ###### comments - is that clear enough?
  24. Skemcin

    Teamup!

    Thanks reportingsjr, hopefully ngaiox will shine the light on the remaining mysteries.If the reply to item B is true, then the answer to C is no, and that would also dictate that item C is also true. In this case, I understand justsomeguy's concerns to be related to how income from selling the application is going to be distributed amongst the developers. If, how ever little or large that amount is, it is not than are all the developer well aware of this stipulation?These are fair questions that should be addressed by the owner of the project. I appreciate your reply reportingsjr and hope that ngaiox find his/her way here to clarify sooner rather than later.
  25. hmm, that seems to be a contradiction. I do not think there is a difference between an link to a file and a direct URL request - with the exception of the presence of a referring URL of course. Are the files you speak of a variety of formats (xml, pdf, xls, etc.) or always the same?I dunno, I have a couple of ideas, but I am not sure I understand the usability flow.
×
×
  • Create New...