Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by TCH-Thomas

  1. The problem is that all of them are right. The script borfast pasted in here are as far as i can see the exact original script from DD and all those id´s are correct. Only thing different from original script are the additions borfast did.It´s after the etc are added, this error message shows up (sorry for that, borfast).Has anyone of you tried the modified script? I´m thinking it would be nice to know if the error shows up for you too or if its local in my machine. -Thomas P.S... Yep, Rjskon, I know the physical changes are made in part 2.
  2. Sorry, here they are (I hope its the ones you look for, 75-85): document.write('\n') document.write('.submenu{display: none;}\n') document.write('\n') } function SwitchMenu(obj){ if(document.getElementById){ var el = document.getElementById(obj); var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change if(el.style.display != "block"){ //DynamicDrive.com change for (var i=0; i -Thomas
  3. Sorry Borfast, I tried it now and get this message: "Line 82 Error: 'document.getElementById(...)' is null or not an object" What is wrong? -Thomas
  4. Borfast and Rock Sign I havent tried it yet, got to happy it could be done so easily. I thought it had to be changed in those id-things, so thats why i figured i ask the script-experts here. Thanks again, Borfast. -Thomas
  5. Hi everyone, On Dynamic drive (http:/dynamicdrive.com) they have a script called "Switch menu". I use this in one of my projects. In the example on DD it makes these menu-headings: Site Menu FAQ/Help Help Forum Cool Links But now I want to add 3 sub-menues to lets say Help forum. So it would look like this: Site Menu page 1 page 2 page 3 FAQ/Help page 1 page 2 page 3 Help Forum Win 95/98 page 1 page 2 page 3 Win ME page 1 page 2 page 3 Win XP page 1 page 2 page 3 Cool Links page 1 page 2 page 3 What do I add/remove/modify... to make that work? I know it was a strange explanation, but I hope you understand, otherwise just ask. -Thomas
  6. In this particular issue it was not when publishing on my TCH-account, but yes, it has happened here too in the public_html. Yes, Cpanel-name contains a "a", 5th letter. CSB creates this 'HTMLobj-...' automatically and unless i manually deletes it thru ftp it updates same html-obj. This happens not only in same directory, almost anywhere i publish, no matter its TCH or where ever. So i guess the answer is no, not same directory. -Thomas
  7. Hi all, Not always but pretty often when i publish i get this error: "Error creating directory 'HTMLobj-3117' on FTP Server at ..." The ^GEMDIR/ is in my code and all eventual additional files in holder. Why does this happen? -Thomas
  8. I have no solution for your problem, sorry for that. I visited your site though and on frontpage, all i see is the red x:s instead of graphics. Sorry for the second problem. -Thomas
  9. Hi everyone, I´ve been playing around with this script but dont get it right, what part do I delete to ONLY have the date showing and not "Todays date is". [<script LANGUAGE=javascript"><!-- // *********************************************** // AUTHOR: WWW.CGISCRIPT.NET, LLC // URL: http://www.cgiscript.net // Use the script, just leave this message intact. // Download your FREE CGI/Perl Scripts today! // ( http://www.cgiscript.net/scripts.htm ) // *********************************************** // Get today's current date. var now = new Date(); // Array list of days. var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); // Array list of months. var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December'); // Calculate the number of the current day in the week. var date = ((now.getDate() // Calculate four digit year. function fourdigits(number) { return (number } // Join it all together today = days[now.getDay()] + ", " + months[now.getMonth()] + " " + date + ", " + (fourdigits(now.getYear())) ; // Print out the data. document.write("Today\'s date is " +today+ "."); //-->] I took away this part (it wasnt correct): Today\'s date is -Thomas
  10. Hi everyone, Does anyone know any places/sites that handles: PHP for dummies and javascript for dummies -Thomas (Needs to go from inquisitive to...hm...next step)
  11. Looks great. If i should be picky, split the "Control panel test drive" to say "Control panel" on one line and "test drive" on a new one. Apart from that Rock Sign -Thomas
  12. Hm...now you really lost me. The script is placed in a holder and that holder is set to 1 since it always converts to 8 in reality if not font settings are written in the script. I always set it to 1 to reduce space above and below the script. I have now copied your quote, pasted it in to the page with same result. I have skipped the place holder and pasted it with the ...same result but an addition too, it created a new empty cell for me above the script. I have selected whole cell and removed any font setting and things i can think of...still same result. I have gone nuts over this (spinning smilie) I will upload the page as it looks like with that extra cell so you can see it. -Thomas
  13. I have been peeking on linux but is far from deciding if its something for me, but i wouldnt mind a thread for that and i agree, the atmosphere here are 100% uniquely nice and would probably have our questions answered in the nicest and most understandable way it can. -Thomas
  14. Hi all, On following url, I have a site under construction (its in swedish, therefor the ... below), http://www.jikrantz.com/assistans/home/ In the left frame I have a Tell a friend-script (yes I know, I have mentioned it in another thread). Below the "...e-postprogram" there is a lot of extra space I wanna get rid of so it looks like all other stuff in this frame. I always had this problem with extra space when using scripts, so is there any way i can get rid of it? I posted same question in the official csb-forum long ago, but figured there might be people here that isnt visiting that forum that might know the answer. I worked on a tree-menu script once, in that case the script produced tables, but that doesnt seems to be the case this time. -Thomas
  15. You know i do. I told Jessica what I wrote in my reply. She laughed and said, thank him with a handshake. Have a nice day. -Thomas
  16. To turtle, If i didnt know better, I could kiss you now, but a handshake will have to do (but maybe my ex who im doing this project for will kiss you, i´ll ask her ). I had some code and the url to where i got codes for these things before, but i lost it. Take care my good friend. -Thomas
  17. Hi, I found a "Recommend to a friend" script. It uses a area where the emailadress is put and then a button that opens the email-client on the visitors computer. But I dont want the button, I want it to be a normal text link saying "Send this...". Can it be done? I originally found the script here: http://www.a1javascripts.com/essential_scr...ellafriend.html -Thomas
  18. Ok guys, who volunteers to become my teacher in scripts, pay is low (if existing and it will problably take a hundred years). What turtle told me to do worked well except for this: Subject: Take a look at this page I found, ?body=You can see this page at: http://www.jikrantz.com How do I get rid of the ?body= ? -Thomas (who feels a little embarrassed now )
  19. Now Im getting a error message on line 230 it says a ) is expected. Lets assume this url I wanna add is my own (www.jikrantz.com), is the following lines correct then? document.write('http://www.jikrantz.com + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page">Send this page to a friend'); } else { document.write('http://www.jikrantz.com + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page">Send this page to a friend'); } -Thomas (confused about scripting)
  20. Just one little problem with it... Since I use frames on the page its used on, it send the url ...start_l.htm and not the whole viewable url. So i was thinking if i could put the correct url there instead of ' + window.location + ' then it would lead to start.htm instead and not just a frame. Is that possible and if so, how? I know...Im no good at scripts. -Thomas
  21. Hi all, Thought it was time to peek in to this part of the TCH forum too. Most of you know me as Tonsa at the official CSB-forum. I know the following problem should have gone to scripting part of this forum, but since i use CSB´s insert... Im not sure if this is done different. I found a script for a recommend to a friend link. The script makes a line saying "Send this page to a friend" but only the part "this page" is a link. I want the whole line to be clickable. How do i do that? Here´s the script: <!-- ONE STEP TO INSTALL SEND THIS PAGE: 1. Copy the coding into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the BODY of your HTML document --> <script LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: David Henry (davidputhenry@hotmail.com) --> <!-- Web Site: http://www.davidphenry.com/ --> <!-- Begin function isPPC() { if (navigator.appVersion.indexOf("PPC") != -1) return true; else return false; } if(isPPC()) { document.write('Send this page to a friend'); } else { document.write('Send this page to a friend'); } // End --> -Thomas
  22. Does this robots.txt work on all servers? I don´t know yet and its not my decision what server/host my friend choose. But I do my best to recommend TCH. -Thomas
  23. Hi everyone, We are all doing our best to get visitors to our sites so this might be a little odd question. Is there any way I can prevent that search engines (like google) indexes my site, except for not publishing it? I am gonna set up a "members area" for a friend, but we do not want to find the individual pages in different search engines, as I have found out i can with my own site. -Thomas
  24. Ah ok. Could that be added somewhere where everyone gets to know this, since its a general thing? Keep up the good work Bill. I didnt mean to sound angry. -Thomas
  • Create New...