Jump to content

keytone

Members
  • Posts

    38
  • Joined

  • Last visited

Recent Profile Visitors

2,145 profile views

keytone's Achievements

Newbie

Newbie (1/7)

2

Reputation

  1. Thanks a million Foxy Mod! You have been a savior to me before, but once "Again !" I have missed the simple thing. Don't tell anyone, but I was saving as .txt instead of html
  2. Hello, I am having a problem which is new to me. I am stuck for what will be a long stay at the Kansas City VA Hospital. They have their own website which has to be logged into to gain internet access and also it is censored by a very strict content censoring. I can't access my cPanel because it is getting blocked. People say that it's not surprising, since some public government sites also get blocked. My web hosting provider "guru guy" says that it sounds like the 2083 port is getting snagged and blocked. The url to my control panel is https://protonhosting.com:2083/ I can't work on my sites, but I can view them ok http://jdsplace.us Someone told me that I could write my code and then view the page with Notepad++ I installed that, but it doesn't seem to launch my page in a browser, maybe just for true programming? What I am wondering is, is there something that will let me view the page, which I write, in a browser without putting it online? ,just to view it on my computer to see how it looks? I can copy my code or upload it when I can access my control panel again. Just hoping someone knows a way. John
  3. I deleted my post, I think I was getting confused.
  4. Well... Welcome Ron. I'm just a "nobody", but I want to be a " somebody" someday. I'll say again, Welcome Ron. My name is John, most everyone calls me "JD". Here, my username is "keytone" I have asked some "goofy" questions in this forum and have found everyone to be very patient and extremely helpful, even when I think my question is a little bit "goofy". I consider myself a beginner. The moderators keep a close watch on posts and have always known exactly how to guide me in the right direction. They seem to really want to help and share their experience and knowledge Everybody here is here to help each other out, and I for one am very grateful for all the help that has been given me.. I don't want, or expect. anyone to write code for me, but I have been given very great guidance when I ask. (by the way, they didn't put me up to this post, I just can't say enough for the people here.)
  5. ok, I'm back. Yes, I understand, I think. The problem that I'm trying to get around is that they may click the link in their e-mail that takes them to my page, then they can just close that tab when they're done. That's the way it is supposed to be. But I have talked to a few people that (when they close my page) are using the very "top-right" red X and wind up closing the whole browser. The "new window"idea was my first thought, then I thought maybe if I could put a "click here to close this page" type of button and "self-close" that page, that it might work, but I wouldn't know if that can even be done. I suppose it's a matter of them learning the difference between closing a tab and closing the whole browser. I was just trying to figure out way to make it fool-proof. I think I'll just put it out of my mind now and worry about more important stuff. Thanks very much for your patience and input. John
  6. Oh, thanks. I guess I wasn't thinking of it as a pop-up. My concept was to make the new window the same size (or very close to it) as the browser tab that their e-mail is and put a page inside that new window. The idea being that when they close that window, they aren't closing their email or browser tab. You're right, I guess it is a pop-up, just a big one . Maybe I should be thinking along the lines of "self-closing" the tab or page that is opened when they click on my page link. Now I sense that I'm not making any sense again...
  7. Well, if you noticed my name, you would expect another goofy question! I am trying to figure out how to send a link to someone and just have it open a new window ( such as with window.open instead of opening a whole new browser tab. I want to just have a window ( which I can choose the size ). I can't figure a way, but then there have been a thing or two along the way in life that I have had trouble figuring out! If any of you has any advice that could guide me, I would be very, very grateful. John
  8. Thanks, that what I thought. I appreciate you answering, John
  9. Hi everyone! I'm back with another goofy, simple question. They seem to plague me sometimes. I just want to send an address type link in a e-mail, (duh! I know) but I want the page to open as a small window, like a popup. I can't seem to figure out how to get the page I'm linking to .... to open as a small new window so when they close it, it won't close their browser and they'll still be in their e-mail. Have I successfully confused myself? I don't get too shook about asking a dumb question anymore, but I sure could use some advice. Thank you, JD
  10. Thank you very, very much! You truly are the Wizard of foxes!
  11. Hello again everyone! Yes indeed, I come groveling back with another question. I'm trying to let the user click to go through an array of quotations. It works fine, but I can only get it to work if I use Math.round and Math,random I don't know how to use anything but random I want to just go through the array in order,then start over. Maybe I need to do do something the variable num I don't know and I've got myself so confused that I'm tearing my hair out, and if you see my picture you can see I don't have much to spare! The page: http://jdsplace.us/generator/funnyquotes.html Here's the code: <html> <head> <title> A Few Funny Quotes </title> <HEAD> <style> .row { padding-left:10px;background-color:white; font-family: verdana, san-serif;font-size: 16px } </style> <script type="text/javascript"> var arr= new Array(); arr.push("MISUNDERESTIMATED---They misunderestimated me.---Bentonville, Arkansas, on November 6, 2000;"); arr.push("And they have no disregard for human life.----George W. Bush-- on the brutality of Afghan fighters"); arr.push("Throughout our history, these immigrants have helped transform 13 small colonies into a great and growing nation of more than 300 people.-George Bush--Charlottesville, Virginia, July 4, 2008"); arr.push("VICTORY and SUCCESS---'So long as I'm the president, my measure of success is victory, and success.'--On Iraq, in Washington, D.C., on April 17, 2008"); arr.push("------------I Wish [the Enemy] All the Very Best------------'I'm telling you there's an enemy that would like to attack America, Americans, again. There just is. That's the reality of the world. And I wish him all the very best.'-Washington,D.C., on January 12, 2009"); arr.push(" 'I'll be long gone before some smart person ever figures out what happened inside this Oval Office.'-- Washington, D.C., on May 12, 2008"); arr.push(" 'Awesome Speech! Thank you, your Holiness. Awesome speech!' --To Pope Benedict, in Washington, D.C., on April 15, 2008"); arr.push("------------------Do You Ever Hear Voices?----------------- 'People say, well, do you ever hear any other voices other than, like, a few people? Uh well...Of course I do.'-----------In Washington, D.C., on December 18, 2008"); arr.push("--------------------Abducted in the Oval Office--------------------'I remember meeting a mother of a child who was abducted by the North Koreans right here in the Oval Office.'--In Washington, D.C., on June 26, 2008"); arr.push("************* $4-a-Gallon Gas? ! **************** 'Wait a minute! What did you just say?-- You're predicting $4-a-gallon gas? ... That's interesting. I hadn't heard that.---In Washington, D.C., on February 28, 2008"); arr.push("******** It's Going to Take a While to Unthaw******** 'This thaw took a while to thaw, it's going to take a while to unthaw.'--On liquidity in the markets, Alexandria, Louisiana, on October 20, 2008"); arr.push("*******I've Abandoned Free Market Principles******** 'I've abandoned free market principles to save the free market system.'--In Washington, D.C., on December 16, 2008"); arr.push("---I Didn't Want to be the President During a Depression---************************************************ 'So I analyzed that and decided I didn't want to be the president during a depression greater than the Great Depression, or the beginning of a depression greater than the Great Depression.'--In Washington D.C., on December 18, 2008"); arr.push("Dont stay in bed, unless you can make money in bed.- George Burns 1896-1996"); arr.push("Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.- Martin Luther King Jr. 1929-1968"); arr.push("Not a shred of evidence exists in favor of the idea that life is serious."); arr.push("Dont be so humble - you are not that great.- Golda Meir 1898-1978 to a visiting diplomat"); arr.push("Political correctness is tyranny with manners.- Charlton Heston 1924-"); function rotate() { var num= Math.round(Math.random()*18); add(num); } function add(i) { var chi = document.createTextNode(arr); var tab1 = document.getElementById("add1"); while(tab1.hasChildNodes()) { tab1.removeChild(tab1.firstChild); } tab1.appendChild(chi); } </script> </HEAD> <BODY background="/background_images/b2.gif"> <a href="/new/interesting/interesting1.html"><img src="/gif/backmarble.gif" border="none"></a> <table align=center style="background-color:#cc9900";> <tr><td background-color:#cc9900 align=center width=400 style="font-family:Times New Roman;"><b>Bush's Best !</td></tr> <tr><td id=add1 class=row width=500 align=center>click Next for a Famous Quote</td></tr> <tr><td align=center><input type=button color="blue" value="Next Quote" border=0 onclick="rotate()"></td></tr> </table> </center> </body> </html> Would one of you gurus tell me what I'm doing wrong? I appreciate you very much. keytone
  12. Thanks a million, I new you could make it simple! I guess I'll have to resign myself to doing each "already written" page one at a time.
  13. Hi everyone! Yep, I'm back again with a new question. I've been looking for a way to get my page adjust to the viewer's screen size and I think I've found it. Using some code I got from a bootstrap basic template ( not all of it, just some ) to adjust my page to fit larger screens. I haven't tried it with smaller screens yet, since I don't have access to one, but I'm pretty sure it will work. My screen is 1366px width and that is what I was looking at when I wrote the pages. The problem I was trying to avoid thinking about but now face is : I have many, many pages...my whole site! There's not much code and copy&paste is simple, but the number is daunting! Here is the code that I put in the <head> section: <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> and this is the code I have in the <body>: <div class="container-fluid"> <center> <a href="/military/mm/mm1home.html"><img src="/military/mm/mm7.png" border="0"> </center> </div> </div> so, the whole thing looks like this: <html> <head> <title>bootstrap test pg.7</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <style> body{background-color: green; font-size: 20px; color: red; } </style> </head> <body> <center> Click the picture to return <div class="container-fluid"> <a href="/military/mm/mm1home.html"><img src="/military/mm/mm7.png" border="0"> </div> </center> </body> </html> The page: http://jdsplace.us/military/mm/mm7.html I'm hoping there is an easier way to update all of my pages without going to each one of them, but I can't even imagine how! Oh well, thanks if you can suggest something. Thanks anyway if you can't. By the way, I don't mind being chuckled at, i've posted some goofy questions. keytone
  14. Thanks, you gave me a place to start. I just didn't know where. keytone
  15. Hi everyone. I was planning to not trouble anyone with questions for a while, but.... I don't want anyone writing the code for me, just, a point in the right direction. What I want to do is have a simple input form for a viewer to enter a few words of info, but I haven't even got a clue on where the info would go. How's that for ignorant? I have some pics that a viewer could identify and tell me what they are. If I make an input form, I don't know where the entered info goes. Sounds pretty dumb, huh? I am eager to learn how, but don't know where to start. Am I looking at learning php or database or both or what? Just a nudge in the right direction would be a great help! I am always open-minded and welcome constructive advice. Thanks very much, keytone
×
×
  • Create New...