Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1151.

Solve : Help Please! :'(?

Answer» LAST night I was messing around in my icon folder on my computer for my live JOURNAL ... and I clicked on one of my icons in my folder.. and pressed PROPERTIES.. and then went down to Open With: and click the change button and changed it to something it shouldn't have been changed to... [ My Computer saves almost all icons that I save as BMP files **They're Animated Icons** and Live Journal don't accept BMP files so I was tryin' to find a way to convert it... well I screwed them up when I clicked WHATEVER and made all my animated bmp file icons quit working.. meaning the animation doesn't work anymore... so could ANYONE help me with my problem?!]The simplest way around it, if you've got it, is to use system restore.
1152.

Solve : How Can I make a counter that counts up in real time?

Answer»
I need to make a counter that counts up (preferably in real time but not CRUCIAL).

Ideally, it would count up by 9 dollars per second and go to the hundred millions.

Thanks in advance!

One that I have SEEN is at www.costofwar.com This is in real time, but that feature is not crucial. Code: [Select]<style type="text/css"> #costOfWarTotal { text-align: center; width: 270px; font-weight: bold; } #costOfWarTotal_Total { font-size: 1.3em; font-weight: bold; color: #990000; } #costOfWarTotal_Link { font-size: .7em; } </style>

<script type="text/javascript" src="http://www.costofwar.com/costofwar-embed.js"></script>

<div id="costOfWarTotal"> <script language="JavaScript"> initCostOfTotal(); updateCostOfTotal(9); </script> </div>


1153.

Solve : Javascript Is it possible to change "onclick" to autostart??

Answer»

I have a script that is a counter that keeps track of how much money the city of SF is collecting from parking tickets.  It works just fine with onclick.  However, I would love for it to start counting when the page opens. I would also love it if there could be commas inserted in between every 3rd number.   

The website is www.findingthesweetspot.com, and the counter to which I am referring is at the top right corner of the home page.  There is another site   www.costofwar.com that autostarts and keeps a live count.  This would be the ultimate goal to have a counter like this one, but with different numbers.  Thanks for your help in advance.

Here is the code:

       





var c=959071;
var t;
function timedCount()
{
document.getElementById('txt').value="$102,"+c;
c=c+1;
t=setTimeout("timedCount()",97);
}


Hi,

Just add the onClick code to a javascript tag UNDER the function.


Code: [Select]<div ID="apDiv33"><FORM>
  <input name="BUTTON" type="button" class="style2" style="font-SIZE: 24px; font-weight: bold; color: #F00;" onClick="()" value=".">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="999" type="text" id="txt" style="font-size: 18px; font-weight: bold;" value="" size="11" maxlength="11">
</form></div>


<script type="text/javascript"style="font-size: 34px; font-weight: NORMAL;">
var c=959071;
var t;
function timedCount()
{
document.getElementById('txt').value="$102,"+c;
c=c+1;
t=setTimeout("timedCount()",97);
}
timedCount();
</script>

1154.

Solve : http://www.geocities.com/js_source/adframe04.html??

Answer»

It keep on appearing on my website. It keeps on coming back even if i remove from my editor. How can i get rid of this. very annoying!

Please help me.What is Zonelabs?1: Probably Geocities way of getting their ads onto your page. You didn't think you were getting a free lunch now were you?

Simply put, I don't know how to get rid of it but even if I did there would be little point - Geocities will simply shut the site down for breaking their rules.

2: It's a firewall. Get one.i do have a firewall installed in my PC..etrust EZ antivirus. I have a free pop up blocker activated but still.

I searched my files and found zonelabs folder at    c:/windows/system32/..

tried to delete the folder but failed. 1) It is the stuff Geocities puts in to display it's advertising on the top-right-hand PORTION of your site.

2) Zonelabs is the maker of Zone Alarm a firewall app.So how can I get rid of it? Please help....please! please! Get rid of what? I'll give you two answers, because I'm really quite a nice person at heart:

1 - Getting Rid of Zonealarm
Firstly, EZ Antivirus is, funnily enough, an Antivirus program. It is not a firewall. Ditto for your pop-up blocker. If you're trying to get rid of Zonealarm, use the Add/Remove Programs dialog in the Control PANEL - if you want rid of a virus, you use your Antivirus app to sort it. Not difficult.

2 - Getting Rid of The Adverts
My wording wasn't strong enough, was it? Let's see what Geocities have to say:
Quote

2. DESCRIPTION OF SERVICE
You also understand and agree that the Service may include advertisements and that these advertisements are necessary for Yahoo! to provide the Service.


Quote
You acknowledge, consent and agree that Yahoo! may access, preserve, and disclose your account information and Content if required to do so by law or in a GOOD faith belief that such access preservation or disclosure is reasonably necessary to: (a) comply with LEGAL process; (b) enforce the TOS; (c) respond to claims that any Content violates the rights of third-parties; (d) respond to your requests for customer service; or (e) protect the rights, property, or personal safety of Yahoo!, its users and the public.


Quote
You understand that the Service and software embodied within the Service may include security components that permit digital materials to be protected, and use of these materials is subject to usage rules set by Yahoo! and/or content providers who provide content to the Service. You may not attempt to override or circumvent any of the usage rules embedded into the Service. Any unauthorized reproduction, publication, further distribution or public exhibition of the materials provided on the Service, in whole or in part, is strictly prohibited.


There's more in the Terms of Service too, but I think that'll do for nowmargarita......LOL  ......There is an alternative .....available to you .....If you pay for your website , you will not have that advertising ........

Just who do you suppose pays for these ......."free sites "


dl65
1155.

Solve : CSS not working in firefox?

Answer»

I have been WORKING with this for hours, and can't seem to fix it!
All it does is remove the text decoration. The links turn out as a normal link with no style, but without an underline.


Code: [Select]#menuNavagationLink {
background: transparent url('../Images/MenuButtonBg.png') left top repeat-x;
height: 44px;
float: left;
font-family:Arial, Verdana;
font-size:15px;
text-decoration:none;
color:white;
padding: 13px 25px 0px 25px;
border-right: 1px solid #000;
}
I tested your code in Firefox and it seems to work (except for the background image which I do not have).

Can you give an example of the links you are trying to style?
Does it work for you in Internet Explorer but not in Firefox?Hey Bannana97, just curious what VERSION of firefox are you using? Do you have any addons installed? (example: webdevelopers toolbar)

-Flightfanatic QUOTE from: Bannana97 on October 03, 2009, 09:03:41 AM

The links turn out as a normal link with no style, but without an underline.


Code: [Select]#menuNavagationLink {
background: transparent url('../Images/MenuButtonBg.png') left top repeat-x;
height: 44px;
float: left;
font-family:Arial, Verdana;
font-size:15px;
text-decoration:none;
color:white;
padding: 13px 25px 0px 25px;
border-right: 1px solid #000;
}
Well, of course links will have no underline when you specifiy "text-decoration:none".Why not?This page describes text-decoration.  [Link]That didn't HELP at all. I found out I didn't have a DOCTYPE in my codes. I added one and it's fixed.
1156.

Solve : Passing Variable value from js to php variable., : hel!!!?

Answer»
  Good day,,
    Im using the jquery modal form.,. I have a problem with this JavaScript and php HOPE someone help me..Im trying to PASS a variable from javascript to PHP, I tried a lot but it did'nt work.,.
Here's my sample code:

    $("#dialog").dialog({
               bgiframe: true,
               autoOpen: false,
               height: 300,
               modal: true,   
               buttons: {
                  'Add New Partner': function() {
                     var bValid = true;
                     allFields.removeClass('ui-state-error');
      
                     bValid = bValid && checkLength(cat,"CATEGORY",1,4);
                     bValid = bValid && checkLength(code,"Partner Code",1,5);
                     bValid = bValid && checkLength(desc,"Description",5,20);
      
                     bValid = bValid && checkRegexp(code,/^([0-9a-zA-Z])+$/,"Product Code only allow : a-z 0-9 ");            
                     bValid = bValid && checkRegexp(desc,/^([0-9a-zA-Z])+$/,"Description field only allow : a-z 0-9");
                     
               if (bValid) {
                                      // Here's the main problem                                                        
                                // insert the value from cat.val(), code.val() and desc.val() into the database table

                      $(this).dialog('close');
                  }
               },
            Cancel: function() {
                  $(this).dialog('close');
                  }
            },
               close: function() {
                  allFields.val('').removeClass('ui-state-error');
               }            
            });
            

    You'll need to send your javascript variables to another PHP page I guess - probably by means of an AJAX query.  I'm not entirely clear of what you're trying to do though, and what's the workflow on this page.I already figure it out,., since im using codeigniter., and redirect to the main page..
I just pass the variable through the url., Quote from: r3ynz_t4nz on June 17, 2009, 02:04:13 AM
I just pass the variable through the url.,

That seems like the logical way to do it. Just put your JavaScript inside PHP and then SET a PHP variable inside the JS.It's tidier to pass the variable via a POST call though - especially if you are passing lots of variables. Quote
Just put your JavaScript inside PHP and then set a PHP variable inside the JS.
can you site an example please..
1157.

Solve : PHP Resize image?

Answer»

My client wanted a photo album- i built it in PHP and SQL.  It is sweet and small BUT- the administrator at client-side, is uploading photos of about 2MB.   Hence, when a view looks at the photo gallery, the load time is PAINFUL

I WOULD like to SOLVE this problem using this approach:
1) Still let users upload these large pictures.
2) Use PHP to shrink the photos down 50% once they are on the server.

I don't know how to reduce and images ACTUAL size.  I don't MEAN Scale, to be clear.
does anyone here know?Have a look at http://us.php.net/manual/en/function.imagecopyresized.php

1158.

Solve : Javascript: Flashing window tab?

Answer»

Hi, I have recently made an Ajax chatroom while discovering how hard it is to MAKE some features.

Sometimes on other website chatrooms, when someone replies, the tab of the window down at the bottom of your screen (where all your open windows are) FLASH at you (orange on Windows VISTA).

How WOULD I make my window flash in JAVASCRIPT?

1159.

Solve : Jquery wont work on php loop.,?

Answer»

Hi guyz.,
  Can someone tell,. why jquery wont work., on a menu within a loop.,

    foreach( $partners as $p_field) {

       print "";
       print  "";
       print  $p_field->name. "[/url]

";
    }

 // script
        $("#showdetails").click(FUNCTION() {
         runEffect();
         return false;
   });

The menu is from the database., I want every time I click a menu,. an effect occur., but my problem is that
the effect works on the first menu only., the and when I click the others menu aside from the first,, they ignore the EFFECTS.,. is there something WRONG with my code???  I already figure it out,,,, I just USE class INSTEAD of id..

1160.

Solve : Access Denied - JavaScript window.parent ??

Answer»

I am trying to change the location of the parent window of a window.open-function-made window.

Error:
Quote

Access Denied Line 1

Code: [SELECT]opener.location = "JavaScript:alert(\'active\');VAR FORMNAME = \"freeRTE_content\"; var item=document.all[formName]; var t = true;var theSelection = item.createRange().text; if (!theSelection) { var t = false; } if (!false) { var t = false; } if(t) { item.createRange().text = \''.$code.'\'; } ";Nevermind.
1161.

Solve : HTML Forms Tutorial?

Answer»

Hey everyone! Here's a link that I found, that will HELP you build HTML FORMS, in a SNAP! Have a LOOK! http://webdesign.about.com/cs/forms/a/aaformstut1.htm

[glb]FLAME[/glb]I would also recommend the below link for great information about forms.

http://www.usability.com.au/resources/forms.cfm

1162.

Solve : Javascript/AJAX: Creating customized HTTP object?

Answer»

I need to create a customized HTTP object that will get the HTTP status CODE name and number then use Javascript code to display the HTTP status.
Any kind of push in the right direction (online resources, tutorials, code snippets) would be appreciated.

HTML file:
Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<head>
<title>Extract Data from an XML file</title>
<style type="text/css">
 .showIt {
           font-size: 14pt;
           color: green;
           font-family: Arial, Tahoma, Verdana;
           border: thick solid;
           padding: 10px;
 
         }
 
b        { font-size: 16pt;
           color:#000000;
         }
         
</style>
 
<script type="text/javascript" LANGUAGE="javascript">
<!--The object detection code -->
var req = false;
// Is there SUPPORT for native XHR object?: IE7+, Firefox, Safari, Opera
     if (window.XMLHttpRequest)
    {
     req = new XMLHttpRequest();
     //create an XMLHttpRequest object
    }
 
     else if (window.ActiveXObject)
     //check for Version 6
    {
     req = new ActiveXObject('MSXML2.XMLHTTP.6.0');
     //create an ActiveX XMLHTTP component
    }
 
     if (!req)
    {
    req = new ActiveXObject('MSXML2.XMLHTTP');
    //fallback to version 3
    }
 
   
 
FUNCTION goXml()
{
    if (req)
    {
    //Request data to be retrieved from the SERVER
 
    req.onreadystatechange = function()
        {
                if (req.readyState == 4 && req.status == 200)
            {
            var response = req.responseXML;
            readXML(response);
                 }
 
        }
    req.open("GET", "MusicianList.xml", true);
    req.send(null);
    }
}
 
 
function readXML(response)
{
    var myResponse = response.documentElement;
    var myMusician = myResponse.getElementsByTagName("musician");
    var place = document.getElementById("showIt");
    for (var i=0; i < myMusician.length; i++)
    {
     place.innerHTML += "<b>Name: </b>" + myMusician[i].getElementsByTagName("name")[0].firstChild.nodeValue + "<br>";
     place.innerHTML += "<b>Genre: </b>" +myMusician[i].getElementsByTagName("genre")[0].firstChild.nodeValue + "<br>";
     place.innerHTML += "<b>Hitsong: </b>" +myMusician[i].getElementsByTagName("hitsong")[0].firstChild.nodeValue + "<br><br>"; 
    }
}
 
 
//-->
</script>
</head>
 
<form>
Click the button to show the list: <input type="button" name="display" id="display" value="Display the List" onClick="goXml()">
</form>
 
<p id="showIt" class="showIt"></p>
 
 
 
</body>
</html>


XML file:



[code]
<?xml version="1.0" encoding="utf-8" ?>
- <musicians>
- <musician>
  <name>Bruce Springsteen</name>
  <genre>Rock</genre>
  <hitsong>Born in the USA</hitsong>
  </musician>
- <musician>
  <name>B.B. King</name>
  <genre>Blues</genre>
  <hitsong>The Thrill Is Gone</hitsong>
  </musician>
- <musician>
  <name>Tim McGraw</name>
  <genre>Country</genre>
  <hitsong>Live Like You Were Dying</hitsong>
  </musician>
- <musician>
  <name>Gordon Lightfoot</name>
  <genre>Folk</genre>
  <hitsong>Carefree Highway</hitsong>
  </musician>
- <musician>
  <name>Glenn Miller</name>
  <genre>Big Band</genre>
  <hitsong>In The Mood</hitsong>
  </musician>
  </musicians>

     





[/code]Save yourself a lot of bother and use the Prototype js library.  Look in the API docs for Ajax.  You'll find lots of other goodies in there too that can make life in javascript a lot less painful.

1163.

Solve : Javascript help please--visitor changes bg and font color?

Answer»

I'm trying to make it so that there is a form in which a visitor to the web PAGE can input RGB values and click submit to change the background and text colors. This is what I have so far, but when I click submit it reloads to a page with the background color but nothing else. Does anybody know what's wrong with my script? Thank you.



"http://www.w3.org/TR/html4/loose.dtd">






 function rainbowfy()
  {
    var red1 = (document.changeColors.redBg.value);
    var green1 = (document.changeColors.greenBg.value);
    var blue1 = (document.changeColors.blueBg.value);

    var red2 = (document.changeColors.redTxt.value);
    var green2 = (document.changeColors.greenTxt.value);
    var blue2 = (document.changeColors.blueTxt.value);
     
       document.write("");
       document.write("");
  }



 function get_random()
 {
  var ranNum=Math.floor(Math.random()*5);
  return ranNum;
 }
  function getaQuote()
  {
   var whichQuote=get_random();

   var quote=new Array(5)
   quote[0]="You may be deceived if you trust too much, but you willl live in torment if you do not trust enough. -Frank Crane";
   quote[1]="I am extraordinarily patient, provided I get my own way in the end. -Margaret Thatcher";
   quote[2]="The deepest DEFINITION of YOUTH is life as yet untouched by tragedy. -Alfed North Whitehead";
   quote[3]="Always remember others may hate you but those who hate you don't win unless you hate them. And then you destroy yourself. -Richard M. Nixon";
   quote[4]="Always FORGIVE your enemies. Nothing annoys them so much. -Oscar Wilde";

     document.write(quote[whichQuote]);
   }






Select Colors

 

  Background (enter values from '00' to FF')

   RED:
   GREEN:
   BLUE:


  Text (enter values from '00' to 'FF')

   RED:
   GREEN:
   BLUE:


 

 
 
 getaQuote();
 


When changing the background color, use the Javascript syntax and not the "document.write()" function.

Use this
Code: [Select]document.style.body.backgroundColor="#000000";
//Just make it so that the value above is what the user wants
//You could try a variable set to the right color

1164.

Solve : Basic Age Verification??

Answer»

Does anyone know of a Basic Html Script that does Age Verification?

Example:


[Month DROPDOWN] [Day DropDown] [Year DropDown]
[Enter Button]

Code: [Select]<p>
                        <span class="bold"> Month  </span>         <select style="width: 100px;" name="bMonth">
            <option value="01">January</option>
            <option value="02">February</option>
            <option value="03">March</option>
            <option value="04">April</option>
            <option value="05">May</option>
            <option value="06">June</option>
            <option value="07">JULY</option>
            <option value="08">August</option>
            <option value="09">September</option>
            <option value="10">October</option>
            <option value="11">November</option>
            <option value="12">December</option>
        </select>

<span class="bold">  Day  </span> <select style="width: 100px;" name="bDay">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>

<span class="bold">  Year  </span> <select style="width: 100px;" name="bYear">
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
etc......
</select>
                        <!-- input type="submit" name="submit" value="CONTINUE &raquo;" style="font-size: 1.5em;background-color: #fff;border: 1px solid #fb9b03;color: #fb9b03;" //-->
                        <input type="hidden" value="true" id="verifyAge" name="verifyAge"/>
                    </p>Thanks a bunch, i'll give it a shot, when I have time!  Just have to learn how to use the 'Thanked Function' on CH.You're welcome
I checked it on my test BOARD and it works...hmm, weird, the submit button won't show up. 

Feel free to look at the source code:
[link removed by CrewRite]because it's commented out.

are comments. remove the !-- at the start of the INPUT  tag and the -- at the end.You'll have to add an extra piece of code to get "Submit" button.

Code: [Select]<form name="input" action="html_form_submit.asp" method="get">
<input type="submit" value="Submit" />
</form> K, the script is sorted out now on InternetExplorer and FireFox, but the script won't restrict age.


This is just an example below of what i'd like it to do:

When the USER selects a Birth Date that's considered below 13 years of age or younger, the script pops up a dialog that says:

Sorry, we only allow teens and adults in our site, would you like to exit to Google.com?
[No] [Yes]Anyone, feel like answering? 

Link to site is provided above.  3rd post from this post.

I'll try that script above again, but does not appear to go to any webpage.You'll need to use JS.

Have a look around http://www.dynamicdrive.com/ and http://javascriptkit.com/.

GoogleTried those, including Javascript Internet, but, I won't BOTHER anymore, this age verify thing is not easy to implement.  Discovered that DaniWeb had them.

1165.

Solve : CSS hold text??

Answer»

in my SITE i have a 'news and UPDATES' section, is there a way i can just use CSS FILE to hold the updates and it updates it for every page..so i DONT need to add them to every page..nevermind, fixed it

1166.

Solve : Menu item = change content?

Answer»

Hello

Can anyone point me in the right direction on how I can implement a menu which changes the content within a page as apposed to loading a new page please?

Heres an example SITE: http://www.nintendo.com/consumer/

Screenshot:



I'd like to accomplish the same thing (menu on the left (graphic) which changes item/content on right within same page).

I think it's a javascript?

Thanks



Their code:

Code: [Select]<div class="sidebar" id="sidebar">

<ul class="menu">
<li class="complex" id="ecl">
<div>
<span style="display: none;" id="sideerrCode"> </span>
<a class="arrow" href="javascript:flipLinks('ecl',3)"/>
<a href="javascript:flipLinks('ecl',3)">Error Code Lookup</a>
<form onsubmit="return formValidator(this,'sideerrCode');return false" id="ecl_form" name="ecl_form" method="get" action="/consumer/wfc/en_na/ds/results.jsp">
<input type="text" maxlength="8" onkeyup="isnum(this,this.value,'sideerrCode');" onkeydown="isnum(this,this.value,'sideerrCode');" name="error_code" onblur="fillInput(this, '#','sideerrCode');" onfocus="formFocus(this, '#', 'ecl', 3);" value="#" id="ecl_num"/><br/>
<select style="margin-top: 3px; width: 92px; display: none;" name="system" id="ecl_systemSelect">
<option value="sys">System</option>
<option value="DS">Any DS system</option>
<option value="Wii">Wii</option>
</select>
<select style="margin-top: 3px; width: 92px; display: none;" name="locale" id="ecl_langSelect">
<option value="lang">Language</option>
<option value="en_US">English</option>
<option value="fr_CA">Francais</option>
<option value="es_MX">Espanol</option>
</select>
<input type="submit" value="Go!" style="position: relative; right: -2px; top: -18px; width: auto; height: auto; display: none;" id="ecl_sub"/>
</form>
<a id="ecl_link1" style="color: black; font-weight: bold; text-decoration: none; display: none;"><br/>Related Topics</a>
<a id="ecl_link2" href="/consumer/systems/wii/en_na/onlineWirelessRouterTroubleshooting.jsp" style="display: none;"><br/>Wireless Router Help - Wii</a>
<a id="ecl_link3" href="/consumer/wfc/en_na/ds/wrSetupHelp.jsp" style="display: none;"><br/>Wireless Router Help -  DS</a>
</div>
</li>
<li class="complex" id="rol">
<div>
<span style="display: none;" id="sideerrRepair"> </span>
<a class="arrow" href="javascript:flipLinks('rol',3)"/>
<a href="javascript:flipLinks('rol',3)">Repair Information</a>
<form id="rol_form" name="rol_form" action="/consumer/lookup/orders/lookupSupportOrder.do" method="post">
<input type="HIDDEN" value="/consumer/index.jsp" name="returnPage"/>
<input type="hidden" value="repair" name="orderType"/>
<input type="text" onkeyup="isnum(this,this.value,'sideerrRepair');" onkeydown="isnum(this,this.value,'sideerrRepair');" onblur="fillInput(this, 'Lookup Repair #','sideerrRepair');" onfocus="formFocus(this, 'Lookup Repair #', 'rol', 3);" value="Lookup Repair #" name="orderNumber" id="rol_num"/><br/>
<input type="text" onblur="fillInput(this, 'Zip Code');" onfocus="clearInput(this, 'Zip Code');" value="Zip Code" style="margin-top: 3px; display: none;" name="zipCode" id="rol_zip"/>
<input type="submit" value="Go!" style="position: relative; right: -2px; top: -18px; width: auto; height: auto; display: none;" name="rol_sub" id="rol_sub"/>
</form>
<!--<a style="display:none" href="https://my.nintendo.com/cpp/faq/faq.jsp#repairs" target=_blank id=rol_link1><br/>Repair FAQ</a>-->
<!--<a style="color:black;font-weight:bold;text-decoration:none;display:none;" id=rol_link1><br/>Related Topics</a>-->
<a id="rol_link1" href="/consumer/orders.jsp" style="display: none;"><br/>Repair Order FAQ</a>
<a id="rol_link2" href="/consumer/manuals/warrantyinfo.jsp" style="display: none;"><br/>Warranty Info</a>
<a id="rol_link3" href="/consumer/repair/" style="display: none;"><br/>System Troubleshooting/Repair</a>
</div>
</li>
<li class="complex" id="pol">
<div>
<span style="display: none;" id="sideerrPart"> </span>
<a class="arrow" href="javascript:flipLinks('pol',3)"/>
<a href="javascript:flipLinks('pol',3)">Part Order Information</a>
<form id="pol_form" name="pol_form" action="/consumer/lookup/orders/lookupSupportOrder.do" method="post">
<input type="hidden" value="/consumer/index.jsp" name="returnPage"/>
<input type="hidden" value="part" name="orderType"/>
<input type="text" onkeyup="isnum(this,this.value,'sideerrPart');" onkeydown="isnum(this,this.value,'sideerrPart');" onblur="fillInput(this, 'Lookup Part Order #','sideerrPart');" onfocus="formFocus(this, 'Lookup Part Order #', 'pol', 3);" value="Lookup Part Order #" name="orderNumber" id="pol_num"/><br/>
<input type="text" onblur="fillInput(this, 'Zip Code');" onfocus="clearInput(this, 'Zip Code');" value="Zip or Postal Code" style="margin-top: 3px; display: none;" name="zipCode" id="pol_zip"/>
<input type="submit" value="Go!" style="position: relative; right: -2px; top: -18px; width: auto; height: auto; display: none;" name="pol_sub" id="pol_sub"/>
</form>
<a id="pol_link1" href="/consumer/orders.jsp" style="display: none;"><br/>Part Order FAQ</a>
<a id="pol_link2" target="_blank" href="http://store.nintendo.com/webapp/wcs/stores/servlet/SchemaView?catalogId=10001&AMP;amp;storeId=10001&amp;langId=-1&amp;currency=USD" style="display: none;"><br/>Online Store</a>
<a id="pol_link3" href="/consumer/retail/retail_replacementparts.jsp" style="display: none;"><br/>Where to Buy Parts</a>
</div>
</li>
<li class="minor"><a href="/consumer/manuals/index.jsp">Manuals</a></li>
<li class="minor"><a target="_blank" href="http://store.nintendo.com">Online Store</a></li>
<li class="minor"><a href="/parents">Info for Parents</a></li>
<li class="minor"><a href="/consumer/gameslist/gamelist.jsp">Master Games List</a></li>
<li class="minor"><a target="_blank" href="http://techforums.nintendo.com/">Tech Support Forums</a></li>
<!--<li class="minor"/>-->
</ul>
<div id="sidebarFooter"> </div>
</div>I don't know how that helps tbh, it's kinda specific to their site (I don't think I need half the crap thats there). Quote from: neljan on November 05, 2009, 08:34:45 AM

Can anyone point me in the right direction on how I can implement a menu which changes the content within a page as apposed to loading a new page please?

Heres an example site: http://www.nintendo.com/consumer/

Exactly where on the example does a menu change the content within the page rather than load a new page?  I'm not SEEING it.
1167.

Solve : picture change?

Answer»

im having a frame on the SIDE of my website and i would like it so the items on the page CHANGE every 10-20 SECONDS to somthing else any help would be very appresiatedTry this: http://www.javascriptkit.com/script/script2/autofresh.shtml

1168.

Solve : Fusion News..... HELP!?

Answer»

Hi all! I have a website, and have my own staff.... I want them to be able to post stuff on the site, without them having to download my software for development.... I found this place here, but I don't know how to make this software work... I don't know much about SCRIPTS.... Here's the link... http://fusionphp.org/news.php ... I need to decode it, and upload it I think, but I have no idea how to.... Please help!

[glb]Flame[/glb]Personally speaking, I don't like the look of the system, mainly because of the ad popup, and partly due to the two lines on the link you gave:

Quote

Fusion News 1.0 Beta

Quote
Most commonly used across any websites at the moment

(My emphasis, by the way).

It seems a bit of a contradiction that a Content Management System (which, by the way, is the other common name given to this type of script) is "the most commonly used" and yet is still at beta 1. Hmm.

Anyway, they have lied. The most commonly used CMS is PHPNuke, an open source (and ad free) system brought to you by the same folks who did the phpBB forum software... I think. Anyway, I had a mess about with PHPNuke a while back and found it was pretty easy to get up and running and not too difficult to customise either. It also has pretty decent documentation and has a large community to help.

www.phpnuke.org

In general though, you'll need a few things. Firstly, you'll need a server and the software (personally, I'd prefer a LINUX box running APACHE Server - it'd be easier for the next two bits and a bit cheaper, but it's down to you). I presume you have this, as I see you have your own site.

Next, you'll need an interpreter for WHICHEVER language you are using for thr CMS, in this case PHP. If you have your own server, you'll need to download it from www.php.net and set it up according to the instructions. It will almost certainly INVOLVE text-editing a few files, but I think you should be okay at that, yes?

If you rent a server from another company and don't have access to it, things can go a bit wrong here. If you don't already have PHP installed, you'll need to get them to install it for you, and this almost always costs you extra. Quite often, you'll need to upgrade to one of the resellers other package deals.

Thirdly, you'll need a database. Most CMS's are built around the open-source MySQL, which admittedly isn't the most user-friendly of beasts (it's based on a command line like in DOS) but at least it's free. If you have PHP installed on your (rented) server, chances are you'll have a MySQL database as well. However, most CMS's will let you choose what type of database you want to use, so as long as you have one, you should be fine. Again, either install it on your own server (www.mysql.org) or get your sysadmin to do it.

From there on in, it's a case of following the instructions, which can vary wildly from system to system. I can't really give you any specific help on this system because I'm not familiar with it, but don't hesitate to post back.Well, I'm using host ultra for my host now... http://www.hostultra.com ... Does this qualify as a database? Can I make it?

[glb]Flame[/glb]You see, all I really WANT here, is a program that my staff can use to post on my web site, without them having to install any software.... It doesn't have to be Fusion, but maybe a similar program... As a matter of fact, if someone could set it up for me, that would be really great. I appreciate all help!

[glb]Flame[/glb]According to the site (you did check, didn't you?) the free package has PHP installed and has the option to install MySQL for $5. If you are paying, you have everything you need.

I can't set it up for you (too busy) but try following the instructions given by whichever program you decide to use and if you have any specific difficulties I'll try and help out here.

If PHPNuke isn't for you, I know of a few other packages which might help. (The star ratings are taken from a .net magazine article, out of 5)

CMSimple (****) - www.cmsimple.dk
Drupal (***) - www.drupal.org
PHP-Nuke (*****) - www.phpnuke.org
phpWebSite (***) - phpwebsite.appstate.edu
Typo3 (*****) - www.typo3.com
XMLNuke (**) - www.xmlnuke.comThanks for the links! Just a few questions... Do I need to download this file? http://www.php.net/downloads.php  ? If so, which of the two do I download? Also, do I need to Download WinSCP 3.7.1 ? http://winscp.sourceforge.net/eng/download.php ...? Please let me know!  

[glb]Flame[/glb]Of the two, the ZIP file has more features but is slightly harder to set-up (I have a funny feeling that one of the features you need is a part of this package - you are best off with this one). If you follow it's instructions, you should be on your way. You'll get there in the end, I know you will!

The latter one is much easier to set-up but lacks the database support you are going to need for this system. If this doesn't matter to anyone else reading this post, then get it instead. As I say, in your case Flame you'll need the first one.

In case there is any confusion, for Windows you will need to look under Windows Binaries. The Source Code is aimed mainly at the Linux user, although it can be compiled for a Windows machine - it adds a whole lotta complications if you are not so experienced at this though.

As for WinSCP, in your case I doubt you will really need it. It's there simply to protect you against crackers getting a hold of any valuable data; if you've ever shopped online, you'll have noticed the bit where you punch in the credit card will be secure. Since all of the data you'll be using this for will be for public view anyway, no-one will gain any advantage over you or, more likely, won't bother at all. Think of it as having alloy wheels on your car - optional but isn't really necessary.

If you've anything else, I'll be happy to answer. But before I go, I'll give you a treat (since I'm in a really good mood). You like my links, so here's another one! Should hopefully explain everything much better than I ever can.

http://webmonkey.wired.com/webmonkey/backend/databases/index.htmlThanks for the link and everything Corrosive! Now, let me appologize ahead of time, and tell you now... It'll be a while before I try it becuase of how busy I am, but I WILL post again soon! Thanks!

[glb]Flame[/glb]
1169.

Solve : Apache Server CGI Scripts using Perl Configuration?

Answer»

Not sure if this should be Programming or WEB Design, but guessing it matches Web Design more..

I am having problems trying to get a Perl CGI Script to run on an Apache 2.2.8 Server. I followed the instructions at Apache on enabling CGI scripting by uncommenting the features etc and when trying to run a Perl CGI Script ( Any Perl CGI Script ) I get an error of "500 Internal Server Error"

The Perl Script is flawless tested, and I have even attempted to run other peoples perl scripts as .cgi or .PL locally on this system to get it working before broadcasting at http://127.0.0.1:80/cgi-bin/test.cgi and same 500 error.


Apache 2.2.8 & Perl 5.10.1.1006 are both INSTALLED on this system with default installation paths and the platform is Windows XP PRO SP3 x86

I am almost wondering if Apache needs a pointer to Perl on how to handle the CGI script or maybe I am off the beaten path. ANYONE have any suggestions?

1170.

Solve : can i have help using the tag?

Answer»

hi can i have help using the TAG i need to know what the sections MEN such as OPTION="..." and codebase="..." and all the other onesW3SchoolsHTML 4 Reference

1171.

Solve : Dice roller?

Answer»

Hey!!
I'm working on my own website, and since it's a RPG deticated site it's pretty importent to me that a dice roller is added to the PAGE...

I should probably tell that I'm very new to html and I basicly made the site, by using an easy website creation program... allthough I know a bit of html codes and tags, but NOTHING big...

The dice roller should be accesable from the post screen so when you write a post, you can add your rolls message so everybody can see you're not CHEATING...

If anyone could HELP me... it would be great..
But please let a describtion on how this is doen follow, or I'll get lost in it...   You definately won't get it done with HTML. Try using either Flash or Javascript.

www.webmonkey.com may help.

1172.

Solve : Web design books?

Answer»

I'm looking for a good book to read for web designers. Mostly programming books

useful books for things I might need for building my own web site. I'm good with HTML

and CSS so I was THINKING about some programming books maybe. I've been teaching

myself basic things using w3schools.com , and was wondering if ANYONE knew any good

books for further my education. Right now I'm working on making a cross browser

mouseover menu, but every book I look at doesn't explain very well what each part of

 their code does. If anyone knew of any good books web sites ect that would help

me please post thanks.I'm not sure if you are interested in learning PHP, but this is a great site that I have FOUND for that!

http://homeandlearn.co.uk/php/php.html

-ilikemycomputerHi i am a web designing expert and on your level i suggest you the site off w3 school form where you will learn more easily!
http://w3schools.com

hope so it will WORK for you! Quote from: rockstar4cs on September 20, 2009, 09:22:01 PM

Right now I'm working on making a cross browser

mouseover menu, ...
A reference on javascript could be helpful for what you want to do. Visit BarnesandNoble.com or amazon.com and search for books on javascript. If buyer reviews are available, read some of them; they may give you a better idea of a good book for you.  Tip: used books often cost much less than new ones and are usually in good condition.
HI

W3school.com gives better information about the knowledge of designing, development and other web SOLUTIONS.
1173.

Solve : Task Management?

Answer»

We need a program that will remind users when they log in to the high school's website they need to fill out a certain form.  Parents need to fill out forms on line and we need a program that will make sure they do.  I've seen these on other sites, just don't know what the program is called.  The user can bypass the form by indicating "remind me later" until a certain date and then must fill out the form to proceed.  Recommendations on specific software would also be appreciated. Quote from: acincyguy on November 16, 2009, 09:34:22 AM

Parents need to fill out forms on line and we need a program that will make sure they do.

Usually a gun pointed at the back of the head is a good way to make sure some one does something.

Oh welcome to the forum and please don't take the above statement seriously I saw the QUOTED SENTENCE and just couldn't help myself.

There are a lot of knowledgeable people here and I am sure some one will come along to assist you.Trust me that OPTION has been DISCUSSEDTHANKS for the welcome.
1174.

Solve : Javascript is not moving object relative mouse coordinates..?

Answer»

For some REASON, this changes the "input" values, but does not move the DIV.

Code: [Select]<BODY>

<form name="SHOW">
X <input type="text" name="MouseX" value="0" size="4"><br>
Y <input type="text" name="MouseY" value="0" size="4"><br>
</form>

<script language="JavaScript1.2">
<!-- Begin
var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove = getMouseXY;
var tempX = 0;
var tempY = 0;
function getMouseXY(e) {
if (IE) { // grab the x-y pos.s if browser is IE
tempX = event.clientX + document.body.scrollLeft;
tempY = event.clientY + document.body.scrollTop;
}
ELSE {  // grab the x-y pos.s if browser is NS
tempX = e.pageX;
tempY = e.pageY;

if (tempX < 0){tempX = 0;}
if (tempY < 0){tempY = 0;} 
document.Show.MouseX.value = tempX;
document.Show.MouseY.value = tempY;
xmla.style.position.top = tempY;
xmla.style.position.left = tempX;
return true;
}
//  End -->
</script>


<div id="xmla" style="border: 1px black dashed; POSITION:absolute;">
Moving..
</div>These lines:

Code: [Select]xmla.style.position.top = tempY;
xmla.style.position.left = tempX;
should READ:

Code: [Select]xmla.style.top = tempY;
xmla.style.left = tempX;

1175.

Solve : Help on this PHP/MYsql tutorial??

Answer»

Ive started this PHP/MYSQL TUTORIAL. I know a little bit about PHP because i looked at the tutorial on this site about it and APARENTLY that should be enough for me to know...

on this tutorial: http://www.freewebmasterhelp.com/tutorials/phpmysql/2

im stuck on the HEADING 'Creating The Table In PHP', i'm not 100% sure what my username,password and database name is because there is so many users and passes on this host...

also i want to know if i just put that straight into a NOTEPAD then save as 'name.php'?

1176.

Solve : Why is this PHP code STILL erroring me??

Answer»

I said IF it works, not try and MAKE it work (lol), but it gives me Warnings anyways:


if(!include("docs/function.list.php")) {
include("../docs/function.list.php");
}Don't know too much about PHP, but LOOKS to me as THOUGH you're just TRYING to loop docs/function.list.php until it works, and obviously, that's erroneous in PHP programming.use file_exists() rather then using include the first time:

CODE: [Select]
if(file_exists("docs/function.list.php"))
{

include("docs/function.list.php");
}
else
{
include("../docs/function.list.php");

}

Yeah I found that out 5 minutes after this thread. . . .

1177.

Solve : where do I put my config.sys?

Answer»

Hi,

I am trying to start a new session of ms dos under windows xp,. and I do not know where to PUT the config.sys file in order for the windows to read it...

Please help ASAP

thanks in advanceGood grief.  How is this related to Web Design?  Post your question in Dos or Windows.Wow - what a project.    XP does not have Dos, just an emulator.   What version of Dos are you trying to run and what makes you think Windows XP will read a config.sys file?   What changes are you trying to MAKE to the configuration which was SET up at boot time?

Please get back & let us know

Thanks Quote

Good grief.  How is this related to Web Design?  Post your question in Dos or Windows.


If you have nothing better to say, then don't say anything at all

Amit Bueno, try this:

http://dosbox.sourceforge.net/You might have noticed that the post was back in Oct so thanks for your help but write it down and send it to 2004 where the poster needed it.

My comment was entirely justified.  By posting in the proper forum Amit is in a much better position to receive quality help since those that come to Web Design are more likely to know about.. wait for it.. Web Design *shock*.  If Amit followed my advice then he PROBABLY got help when he needed it.

Thanks for coming out.
1178.

Solve : ?

Answer»

what is this tag  USED for?  Again, W3Schools.And again, HTML 4 ReferenceHeh, nice Rob. It more or less does what its said to do.Selectsnot really...I'm CONFUSED an I took html an javaOkay, to STOP ANOTHER LONG, long thread developing, I'm locking it.

The question has been answered twice, but if it needs to be opened, PM me.

1179.

Solve : IMG within a cell align?

Answer»

Hello

Been at this for an hour now but can't seem to get an image to align properly inside a table cell:



As you can see, I'm getting a large MARGIN above/below the cell where I've entered the image, if I remove the image the cell is perfect (like the cells below)

HTML I'm using:

Code: [Select]<td class="gridflag"&GT; <img width="15" height="10" align="left" valign="middle" src="img/flags/euro.gif" /> <p style="color:#FFFFFF; text-align:left">9</p></td>
CSS:

Code: [Select].gridflag {
background: #0E0E0E;
border: SOLID 1px #1D1D1D;
padding: 1px;
margin: 0px;
font-size: x-small;
font-family: TAHOMA;
vertical-align: middle;
letter-spacing: normal;
text-align: center;
line-height: 9px;
text-indent: 1px;}
Please help  Only taken a quick look but - if image 10px high and you have css saying 1px padding then - is this just too much for the cell to hold without expanding vertically?  Plus you have font x-small too.

Just wondering if making image smaller might help or enlarge font size.  Not sure right now if line-height is another factor - but too late in day to GO any further!

1180.

Solve : Need help with a poll?

Answer»

[SIZE=13]Please if somebody knows the answer of how to save the results of a poll do let me know
If you want to have  alook at the deesign go to_
http://www.geocities.com/natuchitaa/which_character_do_you_like_most.htm
thanks[/size]PAGE not foundIf you could show us some CODE you already have then we could help you. Btw, on geocities is no php or asp allowed, it doesn't work that's what I know. Maybe that's your problem

1181.

Solve : Form Data Submission?

Answer»

In the past I have used a Form with mailto: to pass the data to me from my website from people entering information via e-mail.

I took courses in HTML, but the courses never covered Forms passing data to a database etc. One drawback to the local community college instructing HTML1 and HTML2 is the lack of showing integration with real life data systems such as Forms to MYSQL Database.

Any suggestions on where I can learn step-by-step how to set up a Form that passes data to a database such as MYSQL? All I have found is info on MYSQL and info on Forms, but nothing showing an integration of both to set one up and build from.

As far as databases go I am hip on Access 97 and 2000, but understand that I will need to also learn MYSQL which I have one of those Teach Yourself MYSQL in 24 hrs books as well as I grabbed a SQL book in case MYSQL wont do, but I heard it should do just about everything that SQL does.Sorry Dave - there's one more essential piece in this jigsaw.  You'll be passing data from the server end of the CONNECTION, so you need a server-side programming language.  Your options are PHP, Python, Ruby, Perl, ASP and a host of other lesser-knowns.  I would go for PHP because of the overwhelmingly good documentation and shallow learning curve.  You really need a PHP+MySQL book/tutorial - then you'll be all set.Hey ROB... Thanks!

I will go to borders tonight and see if they have one to dig into.

I am familiar with Perl, but will check into PHP if that is better documented and easier to FOLLOW. Once understanding PHP and MySQL then I can play with Perl etc to expand on that.

Thanks for pointing me in the right direction once again   Although Perl is excellent, I would go for PHP personally.  You won't FIND the transition difficult, and the support for PHP in a hosted environment is so much better than for Perl.

1182.

Solve : The problem is not clear?

Answer»

I designed the site with FrontPage (the Kurdish language ) and when do I offer to Internet Explorer, no problem. But when do I offer to Firefox. Lines appear overlapping. And I have ANOTHER problem. For example, wrote a sentence at the top of the page. When do I have on offer. Firefox appears bottom of the page or to the RIGHT or LEFT of the page What is the problemWelcome to the *censored* that is trying to support multiple browsers. Pages might work in one, but totally go crazy in another.

Can't do a lot from this end unless we can LOOK at the source. Basically, you have to design your site for Firefox and then design it for Internet Explorer.  But I have never used FrontPage, so I don't know if it has an easy way for you to do this.Frontpage is like a terd on a tree stump in the distance. From afar it looks like a tasty morsel of fine belgian chocolate, but as you get closer to it you realize that it's just a terd on a stump. an old, rotting stump and a freshly deposited turd, that almost metaphorically taunts you, because you wasted your time walking over to the stump.

Basically, what I'm trying to say is FrontPage is more or less catered to Internet Explorer... which isn't surprising given they are both MS products.I've never used FrontPage, but the thing you describe is a common problem with cross browsing. Use CSS and with enough practice you'll be OK. If you need any particular help with some page you'd do better posting source as well as the decription

1183.

Solve : Trying to put a sodahead poll next to a google ad?

Answer»

This is my code. My poll keeps goind under my ADSENSE AD, I want it right next to it, I am using wordpress

     <------------------Adsense code

<---------------Poll-------------->

http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNTg2ODY3MDc5MzUmcHQ9MTI1ODY4NzM4MzI1MiZwPTEyNzQxJmQ9Jmc9MiZvPWM*ZDI2MDhmZjdmNjRiM2JiOTNjZjRlZDVmMTU2YjFjJm9mPTA=.gif" /> http://widgets.sodahead.com/images/flash/poll.swf" />http://widgets.sodahead.com/images/flash/poll.swf" WIDTH="300" height="250" flashvars="textColor=0x18093f&poll_id=739393&id=0&height=250&widgetHeight=250&theme_id=0&darkColor=0xecfde2&lightColor=0xe2f1fb&width=300&widgetWidth=300" wmode="transparent" STYLE="display: block;"/> http://widgets.sodahead.com/images/flash/footerGradient.gif) repeat-x scroll bottom center; border: 1px SOLID #e6e6e6; font-size: 0; height: 13px; line-height: 13px; padding: 0 3px; text-align: right;">http://www.sodahead.com/questions/" style="color: #484747; font-size: 10px; text-decoration: none;float: left;">Questions[/url]http://www.sodahead.com/other/who-is-sexier/question-739393" style="color: #484747; font-size: 10px; text-decoration: none;">View Results[/url]


I hope someone can help

1184.

Solve : Embed Problem?

Answer» HI,

i know EMBED syntax but problem is..in



if i want to GET the duration of ring.wav file, how can i get it.

thanks in advanceIf you want the file to keep PLAYING, then you should TRY this:

loop="99">

Just for example.
1185.

Solve : Cpanel and flash videos?

Answer»

I'm trying to UPLOAD a video through CPANEL into my file MANAGER area.  It uploads, but it isn't a video when it uploads.  Cpanel changes it to a text file.  How do I upload a video so that I can use code to make it viewable on my website?  I don't want to use a third PARTY service like you tube either.

How do you know cPanel changes it to a text file?  Is it readable? What coding are you using in your web page to embed the video in the page?

This may help: http://www.w3schools.com/flash/flash_inhtml.aspFirst get it to work in a HTML page on your local machine.
Did you do that?

1186.

Solve : Need template help!?

Answer»

Couple years ago I purchased a template.  Now the person I bought it from is no longer hosting the images.  Is there anyway I can adjust the code? and PUT in different images?

Ex: http://i19.photobucket.com/albums/b155/AmeliasAuction/macromedia/moon-night-star/Untitled-2dfadfaf.jpg" style="border: #F9D24D solid">

<B>**DESCRIPTION**</b............................You should be able to use any image.  Either hotlink to another or use relative link to an image on your own SERVER.  Just be aware of size factors.Every time I replace the img with mine, it only shows up in the corner of the table EVEN if I add ...background="..... Then it moves the second table down.   Site link?Here is the link....

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=330354409529&ssPageName=STRK:MESE:ITYou have two locations of that image:

Quote
<table WIDTH="100%" cellspacing="0" cellpadding="50" border="0" background="http://i19.photobucket.com/albums/b155/AmeliasAuction/macromedia/moon-night-star/Untitled-2dfadfaf.jpg" style="border: medium solid rgb(249, 210, 77);">
<tbody>
<tr>
<td>
<center>
<table width="100%" cellspacing="0" cellpadding="10" border="0" bgcolor="#ffffff" style="border: medium solid rgb(249, 210, 77);">
<tbody>
<tr>
<td>
<center>
<table width="100%" cellspacing="0" cellpadding="30" border="0" background="http://i19.photobucket.com/albums/b155/AmeliasAuction/macromedia/moon-night-star/swirlbackgrg.jpg" style="border: medium solid rgb(249, 210, 77);">

Make sure, you replace 1st location.

I just replaced it with my image and all works fine:

Thank you for the help. I finally got it to work.Cool
1187.

Solve : Website cant connect to other site? (mysql question)?

Answer»

Can you CONNECT a Website on a Host to a MYSQL database from a database?? i am trying to use a register form and it DOESNT work when its on my host, but when i use that register form on my PC it works (the database is hosted on my pc)Yes you can remotely connect to a database- IF YOUR HOST ALLOWS IT.  otherwise you're SOL.  My host is netfimirms they give me the option to allow remote connections.  Of course, when you connect remotely the name 'LocalHost' will no LONGER be enough, you will require the name of the databse you are connecting to and it's IP.  ask your hosting company for these things.

1188.

Solve : document type declaration?

Answer»

Need an explanation of "document type declaration".  I have had about 70-80 html pages on the internet in 3 different websites, all without a document type declaration.  I don't"
1)understand the function/purpose of such a declaration and
2)don't know how to DETERMINE which of the following ones APPLY to me:
--- for HTML 4.01 Strict documents, http://www.w3.org/TR/html4/strict.dtd"> should be the first line.

--- For HTML 4.01 Transitional documents, the first line should be http://www.w3.org/TR/html4/loose.dtd">.

--- For HTML 4.01 Frameset documents, the first line should be http://www.w3.org/TR/html4/frameset.dtd">.  Thanks


I Is this homework?
The topic "document type declaration" with reference to HTML has to do with the evolution of HTML over the past few YEARS. HTML is supposed to be a standard now. Or soon will be. Real soon. Maybe.

Quote

HTML 4.01 Strict does not allow presentational markup with the ARGUMENT that Cascading Style Sheets should be used for that instead
http://en.wikipedia.org/wiki/Document_Type_Declaration

Now, having PUT that link,
here is what I find in a page I just made:
Quote
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Quote
HTML is supposed to be a standard now. Or soon will be. Real soon. Maybe.
HTML 4 and XHTML 1.1 is now the standard.

http://www.w3schools.com/xhtml/xhtml_dtd.asp
1189.

Solve : Form Submitting?

Answer»

I created a basic form for a WEB site I'm CREATING. Basic feilds and Name Adress ..ECT. I WANTED to use a mailto method so that when the form is submitted it goes to my email but when I tested it outlook was giving me PROBLEMS. I would like to learn how to make a form submit without using outlook. Is their a book someone might recommend or maybe a site that will help me understand how to do this I googled this and had no luck. http://email.about.com/cs/phpemailtips/qt/et031202.htm
http://www.cyberciti.biz/tips/howto-php-send-email-via-smtp-authentication.html
http://www.sitepoint.com/article/advanced-email-php/

1190.

Solve : Survey on website?!??

Answer»

Here's a question. How do we MAKE a survey on our WEBSITE, and then be able to read it when the people send it.Like in; a form people submit? Or a questionnare you SPECIFY before?SING up to this place for FREE! They let you make surveys and stuff! http://www.bfndevelopment.com ... try it!

[glb]Flame[/glb]

1191.

Solve : identify font size for a table?

Answer»

When I establish a table and NEED to IDENTIFY the font SIZE, do I put the STATEMENT outside or inside of the statement?

thanks.Put it next to the applicable text, inside the cell in the table.great.  thanks for the quick response.

1192.

Solve : Submission issues?

Answer»

I am making a questionaire and im just making a test one right now and this is the link http://www.webspawner.com/users/testsite111/index.html. How do i get the INFO submitted and can i have it sent to an e-mail or something? Code: [Select]
<form action="MAILTO:<yourcensoredemailaddress&GT;" method="POST" enctype="text/plain">


The code is right, your problem is the following:
Quote

That's so easy; what could possibly be wrong with it? What's wrong is that it makes assumptions that may not be valid and, as a result, it is very unreliable.. It assumes that:

    * The user's browser knows what to do with a mailto link
    * The user has e-mail client software INSTALLED and properly configured
    * The user's e-mail software knows what to do with a mailto url
    * The user's security settings allow this to happen without PROMPTING with a security alert

Let's consider some of the things that can go wrong:

    * The user uses a webmail service, like hotmail
    * The user is using a public computer at a library or Internet cafe
    * The user uses a browser or e-mail software that doesn't recognize the mailto
    * The user's security settings cause a prompt, alerting the user of a potential security problem

If none of those apply, your form results will be sent like you wanted.

From http://apptools.com/rants/mailto.php
1193.

Solve : New idea?

Answer»

While I AGREE that it may be the most TECHNICALLY REWARDING way, it is not ALWAYS the most expedient.true

1194.

Solve : Folder Contents?

Answer»

hello i have a very SIMPLE web server running at my house and have written most of the html from scratch, yes I do mean notepad =).  my question: is there anyway i can list the file contents inside a folder without typing out a new link everytime? any help would be greatly appreciated, thanksBest way to do it is using PHP. I'm not going to go into detail (too much info), but you can do it with PHP. www.php.net
well, i've tried looking for what i WANT but can't find it.. so LINKS to a site where i have to go find exactly what im looking for is kinda of pointless for me.. which is basically why im here.. kind of a "all else failed" type situation.

maybe "detail" would be nice.okay, check out this link....
http://us.php.net/manual/en/function.readdir.php
I think that's the php function you would want to use. It retrieves a list of files in a directory and inserts it into an array. Then, you will have to make the php script walk through the array, PRINTING each element as it goes.

If you look through www.phpbuilder.net, you may be able to find a FULL script already written that you can just copy and paste.

1195.

Solve : background images and the browser window?

Answer»

i was wondering if there is any way to get the window dimensions right as SOMEONE opens a window. maybe not, but i thought maybe i could use the Code: [Select]<body background="/bg.jpg" bgproperties="fixed" width="+width_of_window+" height="+height_of_window+"> so that the background picture will fill up the background without having to repeat it.
and if theres a way to ACHIEVE this affect, please let me knowYes, you get Javascripts to do such a task (normally it's in the guise of a screen resolution detector) but I'm not liking you're plan of action.

Personally, I wouldn't do it because it sounds like a very tacky effect (unless you can somehow pull it off, which -no offence - is not likely). But if I did want to do it, I'd get a few background images to cope with the different RESOLUTIONS, and use a bit of javascript or another scripting language to pick the appropriate file.

But that's just me. This site offers a script you might like (you may need to adapt it slightly):
http://www.pageresource.com/jscript/jscreen.htm

Alternatively, you could use CSS to centre the background image. Obviously you'll have the white background showing through at the edges but if it doesn't affect your design too much...I wouldn't do that - to much work. What I would suggest is to make a new layer which you make 100% wide and tall. Then put the picture in it also 100% wide and tall. Finally you need to put the layer to the background by setting the z-order to -1.

That's it. Works in IE, dunno about other browsers

I have this done in my website: http://bots.sscentral.com/mavRead the post that you made on the other board..... It can't be possible...

[glb]Flame[/glb]Actually Flame, I think BJ (If that's your real name, I sure feel sorry for you - you must have SUFFERED years of torment in school for those INITIALS ) wants to get the screen resolution so that he can get a background picture - stored on the server locally - to fill the screen, not the desktop-background problem.

1196.

Solve : photo frames?

Answer»

I'd like to put a [graphic] frame AROUND a photo, and then post the photo on a web page. Does anybody KNOW someplace on the web i could look, or suggest a program that will do that [put the frame on the photo]? Or any other advice TOWARDS that? 

Thanks in advance.    TRY Jalbum.CSS borders could also do the trick, but would be a bit more difficult.Thanks Rob, Ill take a look.

And yes, I heard about them there CSS thangs. Guess I gotta actually learn what they are, eh? I'll look in to it.

Thanks both.rob jalbum is an album maker. no photo manipulation. I NEED a software that can add frames and then add the altered picture to a websiteOh, okay - I misunderstood your needs, sorry.  You could do this kind of thing with something like Macromedia Fireworks.  It's a nice program, but a little expensive.  I'm not sure of any free/cheap alternatives I'm afraid.

1197.

Solve : Do you still use MIN/MAX-WIDTH and MIN/MAX-HEIGHT?

Answer»

Title is wrong , correct one should be :
Do you use MIN/MAX-WIDTH and MIN/MAX-HEIGHT ??


I am building a liquid layout with percentage and wonder if I have to use MIN/MAX-WIDTH and MIN/MAX-HEIGHT , knowing that IE 6 and earlier versions do not support it.
Do you use them ?
Is there any rule available to avoid the bug ?
Nightmare area of browser incompatibility.  There are LOTS of hacks out there DESIGNED to get around this PROBLEM.  For example:

http://perishablepress.com/press/2008/05/19/css-hackz-series-minimum-width-maximum-width-for-internet-explorer-6/
http://www.cssplay.co.uk/boxes/minwidth.html

I'm sure you can find more...Yes I still use those. You can avoid the bug by ADDING an empty(but with an   ) div with a fixed size(e.g. 150px) to the container which has a min width/height and set the container to 100%. The container will be 100% or 150px(which ever is larger). For the maximum width/height there will PROBABLY be a similar solution but I never use max, I use just fixed sizes for that.
I use min-height all the time, still.

to make it work in IE 6/7/8, and Firefox (and all other recent browsers), use this:

min-height: 150px;
height: auto !important;
height: 150px;

It simply WORKS. Perfectly.

As for max-height or min/max width..... why bother? There are ways to make min-width with percentages but are you really that concerned?[link Removed]

1198.

Solve : disable save option in file menu of the browser?

Answer»

how to disable save option in file menu of the browser?If this is to prevent your copyright-protected material from being downloaded, then the only reliable way of doing this is to not upload it in the first place. No matter how you try to protect it, there will be a way to get the content. Even if it's just copying and PASTING the text off your page.

Basically, don't expect miracles, because you sure ain't gonna get one.

That said, I think I may have a solution. I've never SEEN ANYTHING that could specifically disable the Save option - at LEAST without having you go round to the person's house and install software on their machine before they visit the site - but I do know of a Javascript which will open up a pop-up window without some of the browser chrome (ie the toolbars, scrollbars, status BARS etc).

I think this link will explain all (it's actually a part of a much larger tutorial, which may also be of use):

http://www.devshed.com/c/a/JavaScript/Controlling-Browser-Properties-with-JavaScript/1/

Being Javascript, however, it is easily disabled. Told you not to expect miracles.yup exactly

thats the most you can do.

However people can still get the name of the page you are opening into the popup window (not to mention IE blocks popups) and open the page in a normal window - unless you scramble the javascript.

1199.

Solve : How does RSS syndication work??

Answer»

Can any body plz guide me how does RSS syndication work ? In fact i WANT to CREATE it for my website

A link is NOT NEEDED, thanks. It is a GENERAL thing.http://webdesign.about.com/od/rss/a/what_is_rss.htm

1200.

Solve : how do you make a free website?

Answer»

Gee...Is that someone from Ireland? Welcome to the forum!Yes, I am actually from Ireland, thank you, I enjoy the forum, but I help better on chat, I am as they SAY in my prime in chat.I know of a couple GOOD programs that you can use to make a free website, Ning, SocialGo, FreeWebs, Webs, There are alot more out there. If you want to make a free FOURM you can use Freeforums. (http://www.freeforums.org/)Bannana97, hi, I went to your friends website and TRIED to set up a web page.

Now IMNOGURU when it comes to this stuff and I've got a lot to learn, but Ive started there anyway and played with the page.

Looks like a good thing. Thank him/her for me will you.

Lots more to learn yet, Bye.