Jump to content
xisto Community

pbolduc

Members
  • Content Count

    87
  • Joined

  • Last visited

Everything posted by pbolduc

  1. I am in the process of writing a small content management system for my niche sites and need to be able to accomplish the following two items. Any assistance would be appreciated: I have a directory that has nothing but sub directories in it and I need to be able to identify each directory name and return them in an option drop down selection menu which will be included in an identifying URL. ALSO: I am in need of a script that could be included on a returned page that will read the content of a table and identify various keywords within the content and place a hyperlink around the particular keyword with the corresponding destination URL contained within.Any assistance in these areas would be greatly appreciated:Thanks in advance,pete
  2. I need to be able to identify the URL of the current page being viewed in order to put it in a link on that page.I'm new to php and have not figured this one out yetAny assistance would be appreciatedthanks in advancepete
  3. Thanks man... sry I didn't thank you sooner but was on vacationpete
  4. I know how to code to get the text in a text area highlighted, I was wondering if anyone could provide me with the code to copy the content of a text area directly to the clipboard.Thanks in advance,Pete
  5. You can use javascript to bring in headers, footers, and just about anything you want. Here is a javascript I use to bring in an image roll that changes the pic everytime the page loads, function imgroll(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[0]="images/imgrolls/140x350/140x350-01.jpg" myimages[1]="images/imgrolls/140x350/140x350-02.jpg" myimages[2]="images/imgrolls/140x350/140x350-03.jpg" myimages[3]="images/imgrolls/140x350/140x350-04.jpg" myimages[4]="images/imgrolls/140x350/140x350-05.jpg" myimages[5]="images/imgrolls/140x350/140x350-06.jpg" myimages[6]="images/imgrolls/140x350/140x350-07.jpg" myimages[7]="images/imgrolls/140x350/140x350-08.jpg" myimages[8]="images/imgrolls/140x350/140x350-09.jpg" myimages[9]="images/imgrolls/140x350/140x350-10.jpg" var ry=Math.floor(Math.random()*myimages.length) document.write('<img src="'+myimages[ry]+'" align="right" border=0>')} imgroll() Whatever is between single quotations in the: document.write('<img src="'+myimages[ry]+'" align="right" border=0>') line will print on your page when called in by a script tag. <script language="" src="js/imgRoll.js"></script> Just place the script tag where you want it to appear on yor page. In this example the javascript is saved as: imgRoll.js in the js folder and the above tag calls it in. The problem here is the code between the single quotations must be optimized which makes it difficut to make quick changes when required because the code runs together and is not spaced. Here is a sample code I use to call in some html code on my recommendation page: recommendCode = '<table class="mcOuterTable" height="100%"cellpadding="0" cellspacing="0" align="center"><tr ><td style="height: 1%"><img id="mcHeader" src="images/headers/recommendus-550x50.JPG" border="0" width="550" height="50" alt=""></td></tr><tr><td style="height: 385; border: 1px solid #CCCCCC"> </td></tr><tr><td style="height: 1%"><img src="images/footers/ffapb-550x35.jpg" border="0" width="550" height="35" alt="" align="middle"></td></tr></table>'; document.write(recommendCode) The file is saved as: recCode.js and is called in by the tag: <script language="" src="js/imgRoll.js"></script> If you are calling in a large piece of code such as a page header or footer it is better to use php. You to not really have to understand php to take advantage of it include capabilities. If you have php available on your server simply save the page you want to bring text or code into with a php extention. Then create your header or footer file with whatever extention (.html, .js, .htm etc.). You call it in with with a simple php include tag: <?php include "header-01.php" ?> Place the include where you want the code to appear. Hope this helps. pete
  6. You can also simply add a class property to your link: CSS Code: a.whateverclass:link {color: #000066; text-decoration: none}a.whateverclass:visited {color: #000066; text-decoration: none}a.whateverclass:hover {color: #006600; text-decoration: underline}a.whateverclass:active {color: #FFFF00; text-decoration: none} Link Code: <li><a type="button" href="javascript: history.go(-1)" class="whateverclass">Go Back</a></li> Hope This Helps, pete
  7. If you expand your use of css you can control alot more concerning your links. Below is an example: a:link {color: #006600; font-size: 9pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #FFFFFF; font-size:}a:visited {color: #006600; font-size: 9pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #FFFFFF; }a:hover {color: #6699FF; font-size: 9pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #6699FF; }a:active {color: #FF0000; font-size: 9pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #FF0000; } To add a second set of link controls simply add a class to the style. Example of link code using the class "dklink2": You can have as many link controls as you want, just create different classes. a.dklink2:link {color: #006600; font-size: 8pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #006600; }a.dklink2:visited {color: #006600; font-size: 8pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #006600; }a.dklink2:hover {color: #ffffff; font-size: 8pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #ffffff; }a.dklink2:active {color: #ff0000; font-size: 8pt; font-family: Arial; font-weight: normal; text-decoration: none; background-color: transparent; cursor: hand; color: #ff0000; } You call the class by use of the "class" property in the anchor tagas follows: <a href="http://forums.xisto.com/no_longer_exists/; class="dklink2" target="_blank">Whatever</a> hope this helps pete
  8. I get the same U/C page from both.... you probably had a cache problem.. pete
  9. I'm not sure about the left to right marquee... As is it comes in the way we read. Here is a up/down javascript that I didn't write but use once in a while. It will take images, text, or html. Just follow instructions and configure the script to your needs. Place the script where you want the scroll to appear on your site. <script language="JavaScript1.2">/*Up down slideshow Script-Updated: 99/05/15 By Dynamic Drive (http://www.dynamicdrive.com/ full source code, installation instructions,100's more DHTML scripts, and Terms OfUse, visit dynamicdrive.com*////////configure the below four variables to change the style of the slider/////////set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!var scrollerwidth=103;var scrollerheight=106;var scrollerbgcolor='white';//3000 miliseconds=3 secondsvar pausebetweenimages=3000;//configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tagvar slideimages=new Array();slideimages[0]='<a href="http://http://edition.cnn.com/ src="Image0.gif" border=0"></a>';//extend this list///////Do not edit pass this line///////////////////////if (slideimages.length>1)i=2;elsei=0;function move1(whichlayer){tlayer=eval(whichlayer);if (tlayer.top>0&&tlayer.top<=5){tlayer.top=0;setTimeout("move1(tlayer)",pausebetweenimages);setTimeout("move2(document.main.document.second)",pausebetweenimages);return;}if (tlayer.top>=tlayer.document.height*-1){tlayer.top-=5;setTimeout("move1(tlayer)",100);}else{tlayer.top=scrollerheight;tlayer.document.write(slideimages[i]);tlayer.document.close();if (i==slideimages.length-1)i=0;elsei++;}}function move2(whichlayer){tlayer2=eval(whichlayer);if (tlayer2.top>0&&tlayer2.top<=5){tlayer2.top=0;setTimeout("move2(tlayer2)",pausebetweenimages);setTimeout("move1(document.main.document.first)",pausebetweenimages);return;}if (tlayer2.top>=tlayer2.document.height*-1){tlayer2.top-=5;setTimeout("move2(tlayer2)",100);}else{tlayer2.top=scrollerheight;tlayer2.document.write(slideimages[i]);tlayer2.document.close();if (i==slideimages.length-1)i=0;elsei++;}}function move3(whichdiv){tdiv=eval(whichdiv);if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){tdiv.style.pixelTop=0;setTimeout("move3(tdiv)",pausebetweenimages);setTimeout("move4(second2)",pausebetweenimages);return;}if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){tdiv.style.pixelTop-=5;setTimeout("move3(tdiv)",100);}else{tdiv.style.pixelTop=scrollerheight;tdiv.innerHTML=slideimages[i];if (i==slideimages.length-1)i=0;elsei++;}}function move4(whichdiv){tdiv2=eval(whichdiv);if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){tdiv2.style.pixelTop=0;setTimeout("move4(tdiv2)",pausebetweenimages);setTimeout("move3(first2)",pausebetweenimages);return;}if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){tdiv2.style.pixelTop-=5;setTimeout("move4(second2)",100);}else{tdiv2.style.pixelTop=scrollerheight;tdiv2.innerHTML=slideimages[i];if (i==slideimages.length-1)i=0;elsei++;}}function startscroll(){if (document.all){move3(first2);second2.style.top=scrollerheight;}else if (document.layers){document.main.visibility='show';move1(document.main.document.first);document.main.document.second.top=scrollerheight+5;document.main.document.second.visibility='show';}}window.onload=startscroll;</script><ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; visibility=hide><layer id="first" left=0 top=1 width=&{scrollerwidth}; ><script language="JavaScript1.2">if (document.layers)document.write(slideimages[0]);</script></layer><layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide><script language="JavaScript1.2">if (document.layers)document.write(slideimages[1]);</script></layer></ilayer><script language="JavaScript1.2">if (document.all){document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+'">');document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">');document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0;top:1;">');document.write(slideimages[0]);document.writeln('</div>');document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0">');document.write(slideimages[1]);document.writeln('</div>');document.writeln('</div>');document.writeln('</span>');}</script> pete
  10. I just downloaded this one yesterday. It's a good basic beginner's ttutorial https://www.sitepoint.com/store/the-css3-anthology-4th-edition/ It is a free version of a more indepth ebook. pete
  11. I am attempting to install xoops through fantastico on cpanel. I have yet to point the DNS to the site. To compensate for this I changed the vitual pathe from the installed: http://forums.xisto.com/no_longer_exists/ to: http://forums.xisto.com/no_longer_exists/ . This occurs on line 37 in my editor. IT WAS: // XOOPS Virtual Path (URL) // Virtual path to your main XOOPS directory WITHOUT trailing slash /*line 37*/ define('XOOPS_URL', 'http://forums.xisto.com/no_longer_exists/'); IT IS NOW: // XOOPS Virtual Path (URL) // Virtual path to your main XOOPS directory WITHOUT trailing slash /*line 37*/ define('XOOPS_URL', 'http://forums.xisto.com/no_longer_exists/'); When I call individual pages index through the IP link they appear. http://forums.xisto.com/no_longer_exists/ >>>>> get index page http://forums.xisto.com/no_longer_exists/ >>>>> get index page http://forums.xisto.com/no_longer_exists/index.html >>>>> get index page http://forums.xisto.com/no_longer_exists/ >>>>> get fire page However, when I try to call xoops through: http://forums.xisto.com/no_longer_exists/ or http://forums.xisto.com/no_longer_exists/ I GET: Fatal error: Call to a member function on a non-object in /home/donpet/public_html/xoops/kernel/config.php on line 222 Unknown Condition []: in file line Here's Line 222: function &getConfigsByCat($category, $module = 0) { if (!empty($this->_cachedConfigs[$module][$category])) { return $this->_cachedConfigs[$module][$category]; } else { $ret = array(); $criteria = new CriteriaCompo(new Criteria('conf_modid', intval($module))); if (!empty($category)) { $criteria->add(new Criteria('conf_catid', intval($category))); } $configs =& $this->getConfigs($criteria, true); if (is_array($configs)) { foreach (array_keys($configs) as $i) { /* Line 222 */ $ret[$configs[$i]->getVar('conf_name')] = $configs[$i]->getConfValueForOutput(); } } $this->_cachedConfigs[$module][$category] =& $ret; return $ret; } } When I type: http://forums.xisto.com/no_longer_exists/ I GET: http://forums.xisto.com/no_longer_exists/could not be found. (FireFox) I am at the bottom of the learning curve in php. Assistance would be greatly appreciated. Thanks, Pete
  12. The only thing about flash is search engine spiders don't read and index the content. Because I design for small businesses I try to limit the flash, or at least design the site so that whatever content in the flash is either displayed elses where on the site/page or hidden at the bottom below the page by coloring the text the same as the background. pete
  13. I'm just beginning to implement CSS. I agree 100%. CSS is easy to learn and well worth the time. pete
  14. It is best to view each page in the various browsers as you build them. Most designers, myself included do not understand the differences in browsers and how they read and view scripts. You do not have to be a browser expert to build cross browser friendly sites. As you build each page. This way you will be able to circumvent any problems in browser differences before the entire site is completed and thus preventing considerable re-scripting time to make the site compatiable in all, or at least the primary browsers. I don't think a"This Site is Best Viewed in XYZ Browser" is a good idea as it shows the world you are still in the browser learning curve. If you are building sites for others, you could loose business as a result. Post the link so we can view it and possibly lend a hand. pete
  15. What experience has shown me, both personal and that witnessed of others, that you can only find the truth if you are actively seeking the truth. When I said "got to the source" I meant give God a chance. Most people don't. They have dismissed the possibility of God taking a personal role in their life, mainly due to societal impact, that at best they offer a half-hearted prayer, usually challenging God to prove His existance. They have gone their entire life without ever attempting to build a personal relationship with their Creator, then in a speed prayer they challennge Him, and when He dosn't respond in their alloted time their blow Him off. Yet, having made up in their mind God is incignificant, they spend countless hours in earnest persuit of "the meaning of life" delving into areas the Bible says we ought not to go. And they usually find some kind of short-term peace there. The spiritual forces that would act to keep them away from finding God's single truth no longer hinder them because they are now off the straight and narrow, seeking false truths in eternally dangerous places. God has made a promise that if we seek Him, we will find Him, but only if we seek Him earnestly, with an earnest heart. pete
  16. Sounds to me like your not sure what you want to to with your life yet. Don't stress over it. Take your time to figure out what it is you want to really do with your life. You got pleanty of time. Here's an Idea though... Use web designing to get a good look at whats out there. As Mastercomputers mentioned, you have to know the business you are designing for, Designing web sites gives you a chance to see the details behind other areas of work. pete
  17. The no right click script will onlt keep a newbie out. pete
  18. I don't know where your are from, or what the exchange rate is. That does make a difference, but in answer to your question, no I would not do all of that for $150. I charge $75 just to make a header or logo from scratch. There are a few of things you can do. First continue to work with the businesses in your area as you need to earn some income as you build internationally. The other day in one of the forums someone suggested to you to check out that rent a developer link. I would ckeck that out and there are more on the net as well. Also, check out affiliate program like http://www.clickbank.com/?pbolduc https://c''>https://c'>http://www.clickbank.com/?pbolduc https://c. Here you can built theme site for yourself and advertise other people product for a commission. http://forums.xisto.com/no_longer_exists/ https://p''>https://p'>http://forums.xisto.com/no_longer_exists/ https://p is theme site I am building for myself to market affiliate products related to internet security. Don't worry about your age, It doesn't matter in this business, what matters is talent and you have that and it will only get better. pete PS. your not annoying... I am happy to help in anyway that I can.
  19. Yes I ment 1979 while in the Navy. Went to Alexandria and Ciro. No, I wasn't kidding. It is interesting to find out what web design is worth in different parts of the world. pete
  20. We wouldn't talk very long. Not that the site is great, after all it was my first one. but because where I live, NM, USA I can get more for my time. The truth of the matter is I don't even like the site... never did! They did and thats what matters. It has been effectively hanging on the internet, unchanged for 5 years now. I used it as an example for the newbie trying to get established in the business. How much do they get for a site in Egypt anyways? Was there back in 1979. pete
  21. I like firefox. I use it most of the time and have yet to experience any problems with it. I expect that it has bugs in it, but I personally havent run into them yet. It works for m e.
  22. I still lean to the war in Irac being a personal objective for Bush to secure the oil, not to keep it from the Chinese, but for his oil partners, the Bin Ladens (Not sure of the Spelling). You have to look beyond what the media presents and into the Bush family's business interests. Both of them sent this country to war in Iraq, and both of them have a vested interest in what happens to that oil. They are working for their "higher powers" the rich oil men of the earth. No doubt about it. pete
  23. I have seen several inquiries concerning becoming an established web designer in the forums. As a result, I will attempt to concisely explain how I did it. First Steps First:If you have been using frontpage, unless you know it through and through, get rid of it. Take the time to learn how to write the code yourself. There are alot of script editors out there that write a clean code. I have found that there are alot of want-to-be designers that use front page, designing sites on the side using frontpage because it came with their office suite. Whenever business gets slow I target businesses that have had a frontpage site designed by some wnat-to-be and recommend a site upgrade. That works pretty good.Personally, I use AceHTMLPro. It is inexspensive and has html, javascript, php, and asp capabilities with excellent help documentation. It also has a code optimiser and a syntex checker. I've been using it for years and still have yet to come to a complete understanding of its full capabilities.Do Your Reasearch:Take the time to search for other web designers on the internet. Review several sites. Type in web design and your local town. The results will most likely bring up any competitors in your area. If they have prices posted this will give you an idea of the going rates in your area.It will also help you to get a better feel for all of the different aspects of web design and the different addons (different dynamic scripts to enhance the site) you can charge for instead of offering them as an included package. Addons are great and generated a fair amount of additional income.Also: Spend a fair amount of time searching for pre-written scripts that you can easily implement in your customer's sites. Don't try to re-invent the wheel. There are hundreds of thousands of free scripts available on the net that you can use in your design.You do not need to understand the language to be able to use these scripts, just how to get them to work (i.e. setting permissions, the path to perl, and such). I have found it is more important to figure out how to customize the script to match the look and feel of the site rather than learning the inner workings of the language the script is written in. As time goes by you will learn more about the different languages simply by learning how to implement them. And there are always forums like this one to help you along.I recommend you go to the addon link in cpanel and look at all of the different open source scripts available there. Get an idea of what is available. If the need arises for one of these scripts install it in your site to get a feel for it, then go to the download site and download it so you can install it on the customer's site. Build Your Site:Using the exaples from your search, design a site offering and explaining your services. Use several different dynamic scripts to show off your capabilities in the beginning. Once you have a few commercial sites built, you can show off your portfolio. In the beginning, I gave away some addons to customer's I liked so that I would be able to show it in action to future clients with a pre-determined rate established based on the time required to install the script.Establishing Your Rates:I try to base my rates on $65.00 an hour. This includes time spent on all aspects of producing the site. (graphic design, scripting, submitting, meta tag optimization and so forth) In the beginning while you are still in the learning curve (you never get out of the learning curve by the way) you will not average your desired rate as you cannot charge the customer for the time it takes you to learn a new script and such.You also cannot go to the customer and sell them a site base on an hourly rate. They want to know what the bottm line is: How much will you charge me to built this site? What you have to do is project in your mind not how long will it take you to build this particular site once I am fully capable of scripting it, not how long is it going to take me as I learn on the fly.Establish a rate for a basic site. I have established the following as my basic site for a small locally owned business:Index page: An over view of the company's products and services.About Us Page: An over view who, what, where, when, and why of the company.A Products and Services Page: More in depth descriptionA Recommend Us Page: I use a simple javascript for this.A Contact Page: javascript protected emails, phone numbers, and the physical location.And 1 Additional Page to cover any additional info the customer may want to include. I don't care if they want a picture of their dog on it, it is available to them. I do however try to suggest a good use for this page.Also included is the graphical design of of the header, which is used on all pages. Meta Tag optimization, and the first site submission to the top search engines. I use the one in cpanel for this.For this I charge $500.00 and I can build it in a day if rushed. Rarely, however, do I ever sell a site for $500. I average $900 - $1200 due to the addons sold.One mistake most newbie designers make is they want to show off their capabilities and impress the client so they give away alot of addons. You cannot go to a Lexus dealer and buy one of their cars for the price of a Neon. People that want a Lexus are will to pay for the extras and so are the poeple who want a quality built, cost-effective site.If they guy is not willing to pay you what your worth, he is not really serious about his site. Find someone who is... there are scores of them out there.Get A Deposit:Experience has tought me that you must get a deposit on the site. I charge 50% and will not start the site until it is in my hand with the check cashed. Building a site for someone is like a limited partnership. Your job is to design the site and their job is to gather the necessary information that you need to complete.The problem is that they often times slack off on their end of the deal. You do not know their business like they do. They have to provide you with accurate info about themselves.I use a two step design approach. The first step is to sell the site establishing both a price and content. In this first meeting I establish who my contact is (the guy or gal responsible for getting me the info I need). The basic design is discussed, a start and completion dates are set and so forth. I tell them what I need and by what date I need it. I collect my deposit and have both included and point it out to the customer a clause in the contract that if they are unable to produce the required information by the expected date, I reserve the right to move them down on my list of priorities of site completion. I have had as many as 10 site waiting on customer supplied info. You cannot conduct business with all of these floating loose ends. I collect the deposit to pay for my time to build the structure while I am waitng on their info. If they fail to provide info in a timely manner, they go on the back burner. If they still fail to provide me with the info by 30 days past due, I burn the structure to CD and bring it or mail it to them, informing that due to their lack of performance, I am terminating our contract according to the clause in the contract.Usually they are able to get the info to you that day. (Will miracles never cease).If I don't get the info that day, I simply go about my business. Most of the time they call you back and I usually charge the a sort of re-stocking fee ($100) as I have lost considerable time trying to get their info (phone calls, stopping by the business and the like.Well I hope this will help to get you started, I have to go to work, got alot to do today. Any questions just ask.pete
  24. You can use paypal or some of the other online credit card sites. Iv'e received $2,000 in one shot through paypay before. I charge a 50% deposit, but I build site locally, not across the net. There is plenty of business in your back yard. To get started I cold called out of the phone book to get leads. It only took a few hours to get a couple of good leads, then word of mouth took over. I saw you post in the designers topic about what to charge. That depends on what you can offer. As time goes by and you learn more you can charge more. I built my first commercial site for $450 http://aplusshuttle.com/ Today I would charge a minimum if at least $800 and would easily get it and it would only take me a day or two providing the customer provided me with all of the information I needed to construct the site. pete
  25. Post the link, I'd like to view it. Also http://www.nomonthlyfees.com/ is a pretty good cpanel hosting site that is only $70.00 a year. 600 megs and all the bells and whistles. Worth checking out, it is where I have RuidosoToday.com hosted, which by the way is comming along quite nicely and should be operational soon. The guy offered me a 50/50 partnership to complete and maintain the site. pete
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.