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.

1401.

Solve : What is the difference between web design and web development??

Answer»

Hello

I am thinking of going into either web development or web design. I know the SMALL difference, but what I really want to know is one makes better for my CAREER path? PLEASE feel FREE to add comment or suggestion here are MOSTLY welcome.

Best Regards
Lay Berls
link deleted
Content deleted by Allan for being useless and rude

1402.

Solve : Difficulty with navigation bar?

Answer»

Hello all.  I am new here and brand spanking new to web design, but I'm trying to help a family friend set up a more professional looking website for his Hapkido school and I'm writing completely raw HTML (with which I am mostly familiar) and doing some copy/paste CSS (which I am completely new to using).  I was given a design by the grand master of the school, because someone else was supposed to have done the website for them months ago and then disappeared.  So, the website is, more or less, supposed to look like this:

http://img839.imageshack.us/img839/5232/image001hq.jpg

Currently, it looks like this:

http://www.americanhapkidoct.com/indextest.htm

The problem being, the navigation bar is way too far to the left and the spacing is too close together.  You may notice, also, a couple of things.  One being that there is no "schedule" or "contact us" on my current navigation bar, like there is in the original design.  This is because when I put all of the ones I needed to be there, the "schedule" drop down box was off and the "contact us" drop down box wrapped all the way back around to fall under "HOME."  You might or might not (depending on your computer, I think?) notice that until you hover "HOME" there's a tiny one or two pixel wide anomoly that stretches from the very left of the page to just past the "t" in "ABOUT US."  So, that said, I have a few questions.

1.) How do I get rid of the anomoly?  It's annoying both myself and the grand master of the school, whose opinion is kind of the only one that matters, in the end.
2.) How do I center the navigation bar?
3.) How do I space the navigation bar so that the SECTIONS are not all so close together?

My CSS coding is as follows:

Code: [Select].mynavbar {
position: relative;
  width: 98%;
  height: 23px; /* corresponds to 'line-height' of a.navbartitle below */
  margin: 0; border: 0; padding: 0;
  background-color: #587BD7;
}


a.navbartitle {
  display: block;
  float: left;
  color: white;
  background-color:  #587BD7;
  font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  margin: 0; border: 0; padding: 0;
  line-height: 23px; /* corresponds to 'top' value of .submenu below */
  text-align: center;
  text-decoration:none;
}
a.navbartitle:hover {
  background-color: #3B54A6;
}
/* menu title widths */
#t1 { width: 104px; }
#t2 { width: 100px; }
#t3 { width: 150px; }
#t4 { width: 200px; }

.submenu {
position:absolute;
  z-index: 2;
  top: 23px; /* corresponds to line-height of a.navbartitle above */
  padding: 0; margin: 0;
width:166px; /* If ADJUST this, then adjust width of .submenu below a too */
color: white;
background-color:  #587BD7;
border: 1px solid #587BD7; /* box around entire sub-menu */
  font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
font-size: 11px;
}

#home_submenu {  left: 0px; visibility: hidden;  }
#aboutus_submenu {  left: 104px; visibility: hidden;  }
#martialarts_submenu {  left: 204px; visibility: hidden; }
#fitnesskickboxing_submenu {  left: 354px; visibility: hidden; }

.submenu a
{
  display: block;
  color: #eee;
  background-color: #587BD7;
  width: 146px;
  padding: 5px 0px 4px 20px;
  text-decoration: none;
  background-color: #587BD7;
  border-bottom: #587BD7 dotted 1px;
  border-top: 0; border-left: 0; border-right: 0;
}


ul { position: relative; display: block; }
li { position: relative; display: block; }

.submenubox {
  margin: 0; padding: 0; border: 0;
}
.submenubox ul
{
  margin: 0; padding: 0; border: 0;
  list-style-type: none;
}

.submenubox ul li {
  margin: 0; padding: 0; border: 0;
}

.submenubox ul li a:link { }
.submenubox ul li a:visited { }
.submenubox ul li a:hover
{
  color: #FFFFFF;
  background-color: #587BD7;
  border-bottom: #587BD7 dotted 1px;
}

I literally got that code from here and just tweaked the colors and a little bit of the spacing, but I'm totally unfamiliar with CSS (until now, I have never even touched it save a direct copy & paste onto LJ and/or IJ style sheets).  So, if there's a simple fix, I would have no idea where to even begin.

My HTML code is as follows (for just the navigation bar):

Code: [Select]<!-- ############### #### Navigation Bar #### ############### -->

<!-- Link to styles used for our Navigation Bar -->
<link href="SimpleNavBarStyles.css" rel="stylesheet" type="text/css">

<!-- Link to a file with couple simple JavaScript functions used for our Navigation Bar -->
<script src="SimpleNavBarScripts.js" language="JavaScript" type="text/javascript"></script>


<!-- main nav bar titles -->
<!-- Note how the the closing angle bracket of each </a> tag runs up against the next <a> tag,
      to avoid leaving a gap between each menu title and the next one. -->
     

<!-- REPLACE each "placeholder.html" URL below with the specific page you want the user
      to go to when the given menu title is clicked. For example, the first link below
      is for the "Home" menu title, so you'd probably replace the first URL with index.html. -->

<div class="mynavbar">

<a class="navbartitle" id="t1" href="index.htm"
      onMouseOut="HideItem('home_submenu');"
      onMouseOver="ShowItem('home_submenu');"
    >HOME</a
><a class="navbartitle" id="t2" href="index.htm"
      onMouseOut="HideItem('aboutus_submenu');"
      onMouseOver="ShowItem('aboutus_submenu');"
    >ABOUT US</a
><a class="navbartitle" id="t3" href="index.htm"
      onMouseOut="HideItem('martialarts_submenu');"
      onMouseOver="ShowItem('martialarts_submenu');"
    >MARTIAL ARTS</a
><a class="navbartitle" id="t4" href="index.htm"
      onMouseOut="HideItem('fitnesskickboxing_submenu');"
      onMouseOver="ShowItem('fitnesskickboxing_submenu');"
    >FITNESS/KICKBOXING</a>


<!-- REPLACE each "placeholder.html" URL below with the specific page you want
      the user to go to when the given submenu ITEM is clicked.  -->

<!-- Home sub-menu, shown as needed  -->
<div class="submenu" id="products_submenu"
    onMouseOver="ShowItem('products_submenu');"
    onMouseOut="HideItem('products_submenu');">

  <div class="submenubox">
    <ul>
      </ul>
  </div>
</div>

<!-- About Us sub-menu, shown as needed  -->
<div class="submenu" id="aboutus_submenu"
    onMouseOver="ShowItem('aboutus_submenu');"
    onMouseOut="HideItem('aboutus_submenu');">
  <div class="submenubox">
    <ul>
      <li><a href="placeholder.html" class="submenlink">History</a></li>
      <li><a href="charlie-frequently asked questions.htm" class="submenlink">Frequently Asked Questions</a></li>

      <li><a href="INSTRUCTOR MAINPAGE.htm" class="submenlink">Instructors</a></li>
      <li><a href="testimonial page.htm" class="submenlink">Testimonials</a></li>
  </div>
</div>

<!-- Martial Arts sub-menu, shown as needed  -->
<div class="submenu" id="martialarts_submenu"
    onMouseOver="ShowItem('martialarts_submenu');"
    onMouseOut="HideItem('martialarts_submenu');">
  <div class="submenubox">
    <ul>
      <li><a href="tigerspage.htm" class="submenlink">Tigers</a></li>

      <li><a href="kidspage.htm" class="submenlink">Kids</a></li>
      <li><a href="adultpage.htm" class="submenlink">Adult</a></li>
    </ul>
  </div>
</div>

<!-- Fitness/Kickboxing sub-menu, shown as needed  -->
<div class="submenu" id="fitnesskickboxing_submenu"
    onMouseOver="ShowItem('fitnesskickboxing_submenu');"
    onMouseOut="HideItem('fitnesskickboxing_submenu');">
  <div class="submenubox">
    <ul>

      <li><a href="fitnesspage.htm" class="submenlink">Fitness Kickboxing</a></li>
      <li><a href="fitnesspage.htm" class="submenlink">Power Bands</a></li>
      <li><a href="http://kickboxers.com/index.html" class="submenlink">KUT</a></li>
     </ul>

  </div>
</div><!-- end of sub-meus -->

</div>

<!-- ################## end of Navigation Bar ################### -->
While I'm familiar with a lot of HTML, I'm still only intermediate so this is well out of my comfort zone.  So, again, this is literally copied and pasted then tweaked with the proper URLs (where available) and list items. 

So, in short: I need to center and better space my navigation bar and I have no idea what to do to CORRECT it because every time I've tried, I've only made it more squished together or made the drop down boxes wrap around to the incorrect parts of the navigation bar, rendering it completely flipping useless.  Also, I need to get rid of the random extra colored pixel that has attached itself to the navigation bar only to disappear if hovered over.  What am I doing wrong??

...and slightly off-topic (as well as completely curiosity but not a big deal at all), if you scroll to the bottom of my test page, you'll see that there's nearly no space at the bottom of it, whereas, at the top, there's a decent chunk.  I'd kind of like to get the chunk of space back, but I've tried <_P> codes as well as <_br /> codes (obviously, minus the underscores) and neither seem to want to work.  Just curious if anyone knew of a quick fix for that.  The grand master of the school is disinterested in whether or not I fix it, but it kinda bugs me, since I'm kind of OCD about symmetry lolUPDATE:

I got it to center  the navigation bar after all(at least on my computer's resolution, but if someone has 600x800 still, I would be very appreciative if someone could check it and see how it looks at that resolution; also, if anyone has Safari or Opera browsers, I don't have those to test the page on...just throwin' that out there).   Well, mostly.  It's right aligned and well-spaced for the most part.  It'll do, I guess.

That said, I've tested it on Google Chrome and Firefox successfully.  On Internet Explorer, however, everything looks good with the exception of the HOME part of the navigation bar which is in a different font color and size as well as it does not seem to link to anything the way it does on Firefox & Google Chrome.

My CSS is as follows:

Code: [Select]/* ####################   Navigation bar CSS styling   

################## */

.mynavbar {
position: relative;
  width: 98%;
  height: 25px; /* corresponds to 'line-height' of a.navbartitle

below */
  margin: 0; border: 0; padding: 0;
  background-color: #587bd7;
}


a.navbartitle {
  display: block;
  float: right;
  color: white;
  background-color:  #587bd7;
  font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  margin: 0; border: 0; padding: 0;
  line-height: 25px; /* corresponds to 'top' value of .submenu

below */
  text-align: center;
  text-decoration:none;
}
a.navbartitle:hover {
  background-color: #3b54A6;
}
/* menu title widths */
#t1 { width: 200px; }
#t2 { width: 200px; }
#t3 { width: 200px; }
#t4 { width: 200px; }
#t5 { width: 200px; }
#t6 { width: 200px; }


.submenu {
position:absolute;
  z-index: 2;
  top: 25px; /* corresponds to line-height of a.navbartitle above

*/
  padding: 0; margin: 0;
width:200px; /* If adjust this, then adjust width of

.submenu below a too */
color: white;
background-color:  #587bd7;
border: 0px solid #587bd7; /* box around entire sub-menu

*/
  font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
font-size: 11px;
}
/* Fix IE formatting quirks. */
* html .submenu { width: 200px; }
font-family: Verdana, Arial, Geneva,  Helvetica, sans-serif;
font-size: 11px; /* IE needs narrower than width of

.submenu above */
/* End */

/* position of each sub menu */
/* We just eyeball the position of each submenu here -- can move

left or right as needed.
   If you adjust menu title text, you might want to adjust these

too. */
#home_submenu {  right: 1000px; visibility: hidden;  }
#aboutus_submenu {  right: 800px; visibility: hidden;  }
#fitnesskickboxing_submenu {  right: 600px; visibility: hidden; }
#martialarts_submenu {  right: 400px; visibility: hidden; }
#schedule_submenu { right: 200px; visibility: hidden; }
#contact_submenu { right: 0px; visibility: hidden; }

.submenu a
{
  display: block;
  color: #eee;
  background-color: #587bd7;
  width: 146px; /* This should be width of .submenu above minus

right-side padding on next line */
  padding: 5px 0px 4px 20px;
  text-decoration: none;
  background-color: #587bd7;
  border-bottom: #FFFFFF 1px;
  border-top: 0; border-left: 0; border-right: 0;
}


ul { position: relative; display: block; }
li { position: relative; display: block; }

.submenubox {
  margin: 0; padding: 0; border: 0;
}
.submenubox ul
{
  margin: 0; padding: 0; border: 0;
  list-style-type: none;
}

.submenubox ul li {
  margin: 0; padding: 0; border: 0;
}

.submenubox ul li a:link { }
.submenubox ul li a:visited { }
.submenubox ul li a:hover
{
  color: #FFFFFF; /* text color for submenu items */
  background-color: #3B54A6;width:180px;
  border-bottom: #FFFFFF 1px;
}

My HTML is as follows:

Code: [Select]<!-- ############### #### Navigation Bar #### ############### -->

<!-- Link to styles used for our Navigation Bar -->
<link href="SimpleNavBarStyles.css" rel="stylesheet" type="text/css">

<!-- Link to a file with couple simple JavaScript functions used for our Navigation

Bar -->
<script src="SimpleNavBarScripts.js" language="JavaScript"

type="text/javascript"></script>


<!-- main nav bar titles -->
<!-- Note how the the closing angle bracket of each </a> tag runs up against the

next <a> tag,
      to avoid leaving a gap between each menu title and the next one. -->
     

<!-- REPLACE each "placeholder.html" URL below with the specific page you want the

user
      to go to when the given menu title is clicked. For example, the first link

below
      is for the "Home" menu title, so you'd probably replace the first URL with

index.html. -->

<div class="mynavbar">

<a class="navbartitle" id="t6" href="index.htm"
      onMouseOut="HideItem('contact_submenu');"
      onMouseOver="ShowItem('contact_submenu');"
    >CONTACT</a
><a class="navbartitle" id="t5" href="index.htm"
      onMouseOut="HideItem('schedule_submenu');"
      onMouseOver="ShowItem('schedule_submenu');"
    >SCHEDULE</a
><a class="navbartitle" id="t3" href="index.htm"
      onMouseOut="HideItem('martialarts_submenu');"
      onMouseOver="ShowItem('martialarts_submenu');"
    >MARTIAL ARTS</a
><a class="navbartitle" id="t4" href="index.htm"
      onMouseOut="HideItem('fitnesskickboxing_submenu');"
      onMouseOver="ShowItem('fitnesskickboxing_submenu');"
    >FITNESS</a
><a class="navbartitle" id="t2" href="index.htm"
      onMouseOut="HideItem('aboutus_submenu');"
      onMouseOver="ShowItem('aboutus_submenu');"
    >ABOUT US</a
<a class="navbartitle" id="t1" href="index.htm"
      onMouseOut="HideItem('home_submenu');"
      onMouseOver="ShowItem('home_submenu');"
    >HOME</a>


<!-- REPLACE each "placeholder.html" URL below with the specific page you want
      the user to go to when the given submenu item is clicked.  -->

<!-- Home sub-menu, shown as needed  -->
<div class="submenu" id="products_submenu"
    onMouseOver="ShowItem('products_submenu');"
    onMouseOut="HideItem('products_submenu');">

  <div class="submenubox">
    <ul>
      </ul>
  </div>
</div>

<!-- About Us sub-menu, shown as needed  -->
<div class="submenu" id="aboutus_submenu"
    onMouseOver="ShowItem('aboutus_submenu');"
    onMouseOut="HideItem('aboutus_submenu');">
  <div class="submenubox">
    <ul>
      <li><a href="placeholder.html" class="submenlink">History</a></li>
      <li><a href="charlie-frequently asked questions.htm"

class="submenlink">F.A.Q.</a></li>

      <li><a href="INSTRUCTOR MAINPAGE.htm" class="submenlink">Instructors</a></li>
      <li><a href="testimonial page.htm" class="submenlink">Testimonials</a></li>
  </div>
</div>

<!-- Martial Arts sub-menu, shown as needed  -->
<div class="submenu" id="martialarts_submenu"
    onMouseOver="ShowItem('martialarts_submenu');"
    onMouseOut="HideItem('martialarts_submenu');">
  <div class="submenubox">
    <ul>
      <li><a href="tigerspage.htm" class="submenlink">Tigers</a></li>

      <li><a href="kidspage.htm" class="submenlink">Kids</a></li>
      <li><a href="adultpage.htm" class="submenlink">Adult</a></li>
    </ul>
  </div>
</div>

<!-- Fitness/Kickboxing sub-menu, shown as needed  -->
<div class="submenu" id="fitnesskickboxing_submenu"
    onMouseOver="ShowItem('fitnesskickboxing_submenu');"
    onMouseOut="HideItem('fitnesskickboxing_submenu');">
  <div class="submenubox">
    <ul>

      <li><a href="fitnesspage.htm" class="submenlink">Fitness Kickboxing</a></li>
      <li><a href="fitnesspage.htm" class="submenlink">Power Bands</a></li>
      <li><a href="http://kickboxers.com/index.html" class="submenlink">KUT</a></li>
     </ul>
  </div>
</div>

<!-- Schedule sub-menu, shown as needed  -->
<div class="submenu" id="schedule_submenu"
    onMouseOver="ShowItem('schedule_submenu');"
    onMouseOut="HideItem('schedule_submenu');">
  <div class="submenubox">
    <ul>

      <li><a href="placeholder.html" class="submenlink">Martial Arts

Schedules</a></li>
      <li><a href="placeholder.html" class="submenlink">Fitness Class

Schedules</a></li>
      <li><a href="placeholder.html" class="submenlink">Events CALENDAR</a></li>
     </ul>
  </div>
</div>

<!-- Contact sub-menu, shown as needed  -->
<div class="submenu" id="contact_submenu"
    onMouseOver="ShowItem('contact_submenu');"
    onMouseOut="HideItem('contact_submenu');">
  <div class="submenubox">
    <ul></ul>
  </div>
</div><!-- end of sub-meus -->

</div>

<!-- ################## end of Navigation Bar ################### -->
Does anybody know how I can get the HOME section of the navigation bar corrected in Internet Explorer?  Once I can get that corrected, it'll be all set, I think.

1403.

Solve : Adobe Dreamviever replacement for Ubuntu?

Answer»

hey, jst wanted to know if their exists a Adobe Dreamviever REPLACEMENT for Ubuntu ?
I DONT want to use WINE...You mean a GPL clone of the Adobe product?
Short answer. No, not yet.

Longer answer.  They were talking about that idea over FIVE years ago. Never happened. But people keep hoping. He is one place to look:
http://ubuntuforums.org/archive/index.php/t-616484.htmlYou might find Bluefish useful.  It's not as sophisticated, I'm sure, as Dreamweaver, but it's free and will WORK with Ubuntu.  You can get it from http://bluefish.openoffice.nl/index.html.

1404.

Solve : PHP contact form & issues with IE/4:3 ratio resolutions?

Answer»

Hello.  I am currently working on a new design for a current website and I have a few questions, as I'm really rather new to this.  First, I am trying to create a .php sort of contact form so that it will SEND immediately to the email address of the school's owner, however, every tutorial I have tried ends up giving me errors when I put the code into effect.  When I try just HTML, an empty email pops up with the information necessary in the body of the email, but that's not what I'm looking for.  What am I doing wrong?

Secondly, I have tested the navigational bar successfully on Firefox & Google Chrome.  Most of the navigational bar works on INTERNET Explorer, except the "HOME" section does not show up as a link; just text with the wrong font/size.  I've looked around Google for "If IE then" sort of things, but I'm not really sure how to fix this.

Lastly, the website looks good with a widescreen resolution, but with 1024x768 or 800x600 resolutions, it looks terrible.  I have used percentages for the widths of all the divs, images, tables, and the navigation bar, so I'm not sure what I could possibly do to correct this issue.     Any ideas?Can you give us a screenshot of the way it should look and the way it should not look on the different resolutions. Also post the code you're using for the form.Absolutely.  This is how it looks on widescreen ratio:

Firefox (this is the ideal look and functionality)

Internet Explorer (note the weird lack of link for HOME on the nav bar but everything else working properly)



This is how it looks when I CHANGE my resolution to 800x600, which is what the owner of the school uses on his old-school square monitor:

Firefox (notice how not only is the layout elongated horizontally and ugly, but the dropdown menu for FITNESS is way over on the left of the screen, which  makes those links impossible to click)

Internet Explorer (notice how the layout is so horizontally elongated that you can't see the pictures in the center?  if you had this resolution and scrolled past the sidebar in its entirety, that is where the pictures would start to become visible ETA: see screenshot here)


As for the php form, just to make sure it worked before I bothered putting any extra work into customizing it, I used these DIRECTIONS and code exactly and even created and saved the files to a "form-submit/em" folder in the cgi-bin, so that all I would have to do was remove the stuff specific to the example website and insert stuff specific to the one I'm working on currently.  So I'm not sure if the codes themselves are faulty, if I'm installing them wrong, if the issue is that the email the school's owner wants to use for contact is aol.com rather than americanhapkidoct.com or what the problem is

Even if you guys can't figure out any of it, thank you so much for looking!

1405.

Solve : Posting Form Entries to another web page instantly?

Answer»

Hi EVERYONE

I am very new to HTML web site design and have a SIMPLE request

I have created an online Flash website through Moonfruit.com. I have a page that requires users to enter various text information

Moonfruit allows me to download this data (which gets saved on my PC as an excel file), but Ideally I would like the information to be displayed immediately on another webpage (WITHIN the same site)

If possible, I would also like the users to be able to search the information for key words, ETC - I presume for this it would NEED to be stored in a database?

I have Microsfot Access, but I'm not sure how to transfer this database to my online website - the problem seeming to be that the website is not stored on my PC, but held on the Moonfruit server somwhere

for ref, the website is www.arecordofmylife.co.uk

here you'll see what I'm looking to achive

Hope someone can help

Cheers

Chris (beef and onionYour website only has an image right now.

You could set the form ACTION to a PHP script which would take that form data and enter it into a mySQL table. The PHP script would be a simple mySQL insert.

Then you can display them on a page by using a PHP script on that page to take the data from the mySQL database and print it in HTML format. This si a simple mySQL SELECT.

W3Schools also has some examples of searches, so you could create a search for all the data rows entered.

1406.

Solve : HTML location?

Answer»

Hello community,
I was REALLY hoping to get some guidance on a little issue I'm having. I am in the process of building a site for my aunt, I'm mostly self taught and plugging away at building out my first multi page site.
Alas I have encountered a problem:
I need a splash page to popup when you click on the "store" link and have you either enter a zip or postal code. If a valid zip is entered you are ported to the US prices page, and if a valid Postal code is entered you are ported to the Canadian prices.

Any help or direction would be life saving thank you so much!

-Paul Quote from: LAY Berls on May 16, 2011, 04:05:43 AM

---

I know your trying to help, but ususally replies have to have something to do with the question !!

Quote from: Lay Berls on May 16, 2011, 04:05:43 AM
---

That does not make sense!


Removed pointless post from above.I've never done this before, but I would imagine that if the verification is simple you could use a javascript SCRIPT to verify and redirect users to an appropriate page, or if it's a more complex validation you could make the form send the data to a PHP script which would validate and then redirect users BASED on a set of conditions.
1407.

Solve : How many Pixels in a 416 * 416 PNG Image ? is it ( 416*416 = 173056) or ...?

Answer»

How MANY PIXELS in a 416 * 416 PNG Image ? is it ( 416*416 = 173056) or there is another WAY to calculate that?
Thank you for responding to this ASAP !Yes, that WOULD be right.Thank you

1408.

Solve : Browser Display Problems?

Answer»

Hello,

I'm having a problem trying to display a webpage correctly, it appears to be centered different depending on which browser i'm using.
Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Imagetoolbar" content="no">
<meta name="description" content="www.nswsolartech.com, providing you the future of solar technologies.">
<meta name="keywords" content="NSW Solar Technologies, Technologies, Solar Energy, Solar Cells, Photovoltic, Ontario Solar Companies, Green Energy, Future of solar technologies, NSW Solar">
<title>NSW Solar Technologies</title>
<link rel="shortcut icon" type="image/x-icon" href="/backups/favicon.ico">
</head>
<body>
<div id="bg"><img src="a4content/Beautyful_Landscape_22.jpg" width="0%" height="100%" alt=""></div
<div id="content"><p><br><br>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" CODEBASE="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="900" height="506" align="left">
  <param name="allowScriptAccess" value="sameDomain" />
  <param name="movie" value="index.swf" />
  <param name="play" value="True" />
  <param name="loop" value="False" />
  <param name="MENU" value="False" />
  <param name="quality" value="BEST" />
  <param name="wmode" value="transparent" />
  <embed src="index.swf" play="False" loop="False" menu="False" quality="best" wmode="transparent" width="1400" height="478" align="center" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
I tried using Cascading Style Sheets to center the website correctly in all browsers but with no luck.

Can somebody PLEASE Explain to me what the *censored* is going on
We cant see the images. They are stored on your pc.

Quote

<div id="bg"><img src="a4content/Beautyful_Landscape_22.jpg" width="0%" height="100%" alt=""></div>

The image source is a folder on your computer, not a public accessible place such as a web server.

Quote from: ThomasTheXPUser on June 06, 2011, 06:35:07 PM
We cant see the images. They are stored on your pc.

The image source is a folder on your computer, not a public accessible place such as a web server.
Am...no, not necessarily.

The proper way to centre a website: http://www.webdesigntuts.net/css-tutorials/how-to-center-a-website-with-css.html Quote from: kpac on June 07, 2011, 05:55:40 AM
Am...no, not necessarily.

The proper way to centre a website: http://www.webdesigntuts.net/css-tutorials/how-to-center-a-website-with-css.html

i take that back. I couldnt see the images 

i shall now proceed to bash my head on this desk
1409.

Solve : Page won't display in IE7, but works in Firefox and Chrome?

Answer»

I am working on a website and just started checking cross browser compatibility.  Most PAGES on the site work just fine across all browsers, but one PAGE (so far) absolutely will not display in IE7.  It gives the "can not display webpage" error and suggests that I have a connection problem, but it's clearly NOT a connection problem because I can see the page in other browsers.  It would be nice if IE would just spit out a more specific error, but that would be too easy.

By the way, I have tried turning off my add-ons, resetting the browser, ETC..  Nothing works.

Has anybody seen this before?

The offending source code:
Code: [Select]<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Post Job</title>
    <link href="/stylesheets/app/basicTemplate.css" rel="stylesheet" type="text/css" />
    <link href="/stylesheets/app/main.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id="wrapper">
      <div id="header">
        <div id="logInLogOut" class="logInLinks">
          <a href="http://local.securifieds.com/mainapp/user/logcheck">Log In/Log Out</a>
        </div>
        <div id="signUpLogIn" class="logInLinks logInLinksHide">
          <a href="http://local.securifieds.com/mainapp/user/signup">Sign Up</a>
          <span>or</span>
          <a href="http://local.securifieds.com/mainapp/user/login">Log In</a>
        </div>
        <div id="logOut" class="logInLinks logInLinksHide">
          <a href="http://local.securifieds.com/mainapp/user/logout">Log Out</a>
        </div>
        <ul>
          <li class="tabStart"><a href="http://local.securifieds.com/mainapp">Home</a></li><li
             ><a href="http://local.securifieds.com/mainapp/how_it_works">How It Works</a></li><li
             ><a href="http://local.securifieds.com/mainapp/benefits">Benefits</a></li><li
             ><a href="http://local.securifieds.com/mainapp/faqs">FAQs</a></li><li class="tabStop"
             ><a href="http://local.securifieds.com/mainapp/user/account/jobs">My Account</a></li>
        </ul>
        <a href="http://local.securifieds.com/mainapp">
          <img src="/images/app/mainLogo.png" alt="logo" /></a>
      </div>
      <div id="content">
                <div id="jobCategory">
          <h2>Post Job</h2>
          <form action="http://local.securifieds.com/mainapp/jobs/post/category" method="post">
            <div class="labeledGroup">
              <label for="city">Job Location City:</label>
              <input type="text" size="30" name="city" value="" id="city" />
            </div>
            <div class="labeledGroup">
              <label for="zip">Job Location Zip Code:</label>
              <input type="text" size="6" name="zip" value="" id="zip" />
            </div>
            <div class="labeledGroup lastGroup">
              <label for="category">Select Job category:</label>
                <select name="category" id="category">
                  <option value="1"                    >Moving (Moving, Delivery)</option>
                  <option value="2"                    >Remodeling (Painting, Flooring, Carpentry, etc)</option>
                  <option value="3"                    >Yard Work (Landscaping, Mowing, Snow Removal)</option>
                </select>
            </div>
            <input type="hidden" name="profileID" value="" />
            <button type="submit" name="continueButton" value="Continue"
              id="continueButton">Continue</button>
            <a href="http://local.securifieds.com/mainapp" class="actionLink">Cancel</a>
          </form>
        </div>
      </div>
      <div id="footer">
        <ul>
          <li><a href="http://local.securifieds.com/mainapp/about_us">About Us</a></li>
          <li><a href="http://local.securifieds.com/mainapp/user/feedback">Contact Us</a></li>
          <li><a href="http://local.securifieds.com/mainapp/terms_of_service">Terms of Service</a></li>
          <li><a href="http://local.securifieds.com/mainapp/privacy_policy">Privacy Policy</a></li>
        </ul>
        <p id="copyright">COPYLEFT 2011 by Securifieds.com</p>
      </div>
    </div>
<script type="text/javascript">
/* <![CDATA[ */
function hasClass(target, theClass)
{
  var pattern = new RegExp("(^| )" + theClass + "( |$)");
 
  if (pattern.test(target.className))
  {
    return true;
  }
 
  return false;
}
 
function addClass(target, theClass)
{
  if (!hasClass(target, theClass))
  {
    if (target.className == "")
    {
      target.className = theClass;
    }
    else
    {
      target.className += " " + theClass;
    }
  }
}
 
function removeClass(target, theClass)
{
  var pattern = new RegExp("(^| )" + theClass + "( |$)");
 
  target.className = target.className.replace(pattern, "$1");
  target.className = target.className.replace(/ $/, "");
}
 
function readCookie(name)
{
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++)
  {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  }
  return null;
}
 
var logInLogOut = document.getElementById("logInLogOut");
var signUpLogIn = document.getElementById("signUpLogIn");
var logOut = document.getElementById("logOut");
 
if (readCookie("logged")=='yes')
{
  removeClass(logOut,"logInLinksHide")
  addClass(logInLogOut,"logInLinksHide")
}
else
{
  removeClass(signUpLogIn,"logInLinksHide")
  addClass(logInLogOut,"logInLinksHide")
}
/* ]]> */
</script>
 
  </body>
</html>I found the problem.  My app was sending out a 302 instead of 200 status.  Only IE complained about it, even if in a very ambiguous way.  The other browsers still showed the content despite the 302 status.

I generally like to take every opportunity I can to complain about IE, but in this case, they actually helped me find an obscure bug in my app!First things first - Welcome to CH

Secondly, I would like to thank you for posting what your solution is.  We're glad to hear that you got it sorted out.Ie9 displayed the page OK, but took a very long time to load it!

1410.

Solve : How to connect to apache from the internet?

Answer»

Hi
I am developing websites on my localhost xampp server setup on my local MACHINE. I want to allow a client to connect to my server to view the work I've done. Do you know any options for me to allow this to happen. I ACHIEVED this before but can't remember how but I'm sure there are a number of options. I do not have a static IP address but I remember configuring apache and my router to allow this before. Any advice or any other way to do it?? Quote

Mar 6, 2011 ... To host your own website you will need a high-speed Internet connection and a computer that you can use just for that purpose. ...
How to Host a Website from your PC
This article does not use Apache. Instead the IIs which is part of Windows.
Video for Apache.
http://www.youtube.com/watch?v=uJBH0JRaaRU
1411.

Solve : Web Site?

Answer»

Hi All,
I have started a web site for a FRIEND. I also have found myself to be very busy lately. I am looking for someone to put together the site for me on the cheap. Does anyone know of a place I can go to get a small site done for me? I am looking for a front page and a templete for the child pages. I have most of the text done and a rough layout of what I want I just don't have time right now to finsh it.

Thanks

http://www.frontpage-templates.org/Thanks but I don't use frontpage.

I was using Kompozer.

Do they even sell frontpage anymore? Where could I get a copy for these templetes?

Thanks
Sorry.
You already saw this?
http://www.youtube.com/watch?v=y7IIz9wQQ-8
And this:
http://download.cnet.com/KompoZer/3000-10247_4-10655200.html
What you wan is maybe :
http://kompozer-nvu.info/1/tag/download-templates/I have it already installed.

I will check out the video. It maybe something I can do QUICK by getting a HTML templete and import it into Kompozer.

Thanks
By the way the frontpage site you posted looks really good. Lots of good templetes.

You might like to know there are places that offer older versions of MS Office and Frontage for very low prices. Of course not as good as something new, like Adobe. But those old FronPage creators still work. And like you said, lots of very nice templates out there.

Check  eBay for a legit retail MS Office with Frontpage.

NOTE: Buying stuff off eBay has it good and bad side. Anybody who wants an old version of MS Office with Frontpage should look over these links before buying.

http://www.fatwallet.com/forums/online-auction-info/954615/

http://social.microsoft.com/Forums/en-US/genuineoffice/thread/0eb1dbba-3b2f-43db-9823-64fdbb4e5b29

In spite of that, there are legit vendors. Somewhere.
I run open office so I don't really need MS office. I use to use frontpage 97 many YEARS ago. My job changed and I never KEPT up with my site building skills or the software. I will take a look on ebay and see if I can get a newer copy of frontpage...maybe 2003 or something like that.

Thanks

FrontPage has been discontinued in favor of Expression Web.webs.com provides some templates right from their site, some seem to look decent enough to use (considering it's free)

You can get the Microsoft Expressions Web 4 for free here, I think you need to log in with an EDU email address or some account that lets you works as an microsoft passport account and then you should be able to get it free.

No more Frontpage, and you can run with the WYSIWYG editor part to get something up and then tweak the ACTUAL code specifics yourself later.

1412.

Solve : passing var into a css style?

Answer»

Hey All am new to html/php
Have done a bit of VB in the past,

Now I can't FIND the syntex to pass a var into a style attribute

I have the FOLLOWING CODE

now this is returning the right info have add the function at bottom!
Code: [Select]
<script type='text/javascript'>
   var BGIMG = backgroundpic("<?php echo $store_id; ?>");
</script>


Now I what to pass the above verible into the following code?
Code: [Select]
<style type="text/css">
  body
    {
    background-image: url( BGIMG );
    background-repeat:no-repeate;
    background-attachment:fixed;
    height:100%;
    width:100%;
    background-position:top;
    }
</style>       

all the above code is PLACE in between   and
 
any help you could give would be grate!
 
Code: [Select]
function backgroundpic(store_id)
  {
  var ID = store_id;
  if (id == 'KESW')
    {
    var pic = '/inc/adlpic.jpg';
    }
  else if (id == 'YDAR')
    {
    var pic = '/inc/darpic.jpg';
    }
  return pic;
  }
Why not skip the JS and just use PHP to output the background image?

Code: [Select]<style type="text/css">
  body
    {
    background-image: url("<?php echo $store_id; ?>");
    background-repeat:no-repeat;
    background-attachment:fixed;
    height:100%;
    width:100%;
    background-position:top;
    }
</style>

Otherwise you'd have to use JS to output the entire CSS like so.
Code: [Select]<script type="text/javascript">
    document.write("<style type='text/css'>\n body\n {\n background-image: url(" + BGIMG + ");\n background-repeat:no-repeat;\n background-attachment:fixed;\n height:100%;\n width:100%;\n background-position:top;\n }\n </style>");
</script>
Thanks very much kpac

this is how i solved it

Code: [Select]<script type='text/javascript'>
     var pic = backgroundpic("<?php echo $store_id; ?>");
     document.write("<style type='text/css'>\n body\n {\n background-image: url(" + pic + ");\n background-repeat:repeat;\n background-attachment:fixed;\n height:100%;\n width:100%;\n background-position:top;\n }\n </style>");
</script>

as user selects store id on a previous page and is stored for the session

thanks again!!!

1413.

Solve : Help with suggestion list!?

Answer»

Hey All  am new at this and have problems!!!

I wish to fill a dropdown LIST with suggestion of products dependant one user input!
I have a CSV fil with each product code on a new line!
I think I need to place CSV into and ARRAY and I think it is don as FOLLOWS?
Code: [Select]function FillArray()
{
   var ProdCSV = '/inc/product.csv';
   datafile = new File(ProdCSV);
   datafile.open('r');
   var ProdArr = new Array();
   while(!datafile.eof)
      {
      ProdArr.push(new Array(datafile.readln()));
      }
   datafile.close();
   return ProdArr;
}

Now my main code as a base is as follows also wish to hide and unhide the list when input field is blank or is a item in array not part!
 
Code: [Select]<head>
   <script TYPE='text/javascript'>
   var ProdArr = FillArray();
   </script>
</head>
 
<body>
   <form>
      Product - <input NAME="model_1" type="text" id="model_1" size=16 maxlength=16 onchange="NearestProd(this,ProdArr);" /><br />
      <textarea name="neartxt" id="neartxt" cols=16 rows=5></textarea>
   </form>
</body>

I am unsure if this is correct and a start?
Code: [Select]function NearestProd(data, ProdArr)
{
   
    if (data=="" || data==ProdArr[item??]
      {
       hide textare???
      }
   else
     }
     fill textarea with list of suggestions based on data
     text areas size to change with rows being maxed at 5 if more scrollbar active
     }   
}

many thanks in advance
 
Mikle

1414.

Solve : Favicon shows in Firefox but not in IE8 or Chrome?

Answer»

I am making a website and I've DESIGNED a favicon.

The icon is a 16x16 8-bit .ico named favicon.ico

I've tried:
Putting the favicon.ico in the same location as index.html
Putting the favicon.ico in my C:\ directory.


Deleting the IE and Chrome cache.

And they still don't show the icon... Code: [Select]<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />That should work if the icon is in the same folder as the file it's supposed to appear on.

Try this instead:
Code: [Select]<link rel="shortcut icon" type="image/x-icon" href=".../favicon.ico" /> Quote from: kpac on July 27, 2009, 04:01:17 PM

Code: [Select]<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />That should work if the icon is in the same folder as the file it's supposed to appear on.

Try this instead:
Code: [Select]<link rel="shortcut icon" type="image/x-icon" href=".../favicon.ico" />

Note, still didn't work.

And I've tried using an absolute link to the icon, and still doesn't work.

In case there's something wrong with the icon itself, I've attached it to this post. (Remove the GIF extension!)

[attachment deleted by admin] Quote
(Remove the GIF extension!)
That's the problem!

What did you use to create it? Paint?
Go here: http://www.favicongenerator.com/ Upload the file, and it will convert it to an .ico file. You can then download the proper file.

The problem is that you were linking to an .ico file, when in fact the icon was a .gif file. Quote from: kpac on July 28, 2009, 05:37:54 AM
That's the problem!

What did you use to create it? Paint?
Go here: http://www.favicongenerator.com/ Upload the file, and it will convert it to an .ico file. You can then download the proper file.

The problem is that you were linking to an .ico file, when in fact the icon was a .gif file.

It's a valid ICO file, I just added the .GIF extension so I could upload it to the forum.

I created the icon file using IcoFX.

I tried favicongenerator but when I uploaded a 16x16 PNG file, it just returned a black image file (Not a proper icon), and with a GIF file, it returned an icon but without transparency.Hmm....This is quite strange. How are you looking at the file, i.e. are you viewing it from your PC or is the site on the WEB?The website files are currently local on my PC.

I do have a spare page on Freewebs (HTML, not one of their template pages) which I could try the favicon with.

Result:
It works, IE and Chrome probably have some sort of issue with Favicons used locally.
The icon should then work once I've uploaded my page onto the web.


Thanks for your HELP kpac. Quote
The icon should then work once I've uploaded my page onto the web.
Yes, that's what I'm thinking too.

I use a testing server here on my own PC, but most of the time the icon doesn't show up until it's on the Web. Maybe that's the case here too.

Anyways, I'm glad to help. I am having the exact same problem.  Works in FIREFOX but not IE or Chrome.  I tried using the favicon generator and no change at all.  Also I stupidly overwrote my old favicon with the new one but the old one looked a lot better.  It was transparent which looks much nicer than a white background.

Can anybody tell me how to fix both of these things?

http://www.singledudetravel.com/ is my site. Your favicon is supposed to be at http://www.singledudetravel.com/wp-content/themes/atahualpa/images/favicon/favicon.ico.  Right?  That's what your web page file indicates.  Yet, the URL for the favicon does not show it.  Therefore, you apparently have not uploaded your favicon to that folder on your web server.   I was not aware of that because it was working always on Firefox and thats what I used until recently.  Doing what you suggested fixed chrome but not IE (at least not the latest version).

Does anybody know how to fix IE?

What about how to generate my favicon with a transparent background?  I know I had it before and I know others have pulled it off like zerohedge.com and elance.com for example.

Thank you.If you have Photoshop, here's a reference on creating a transparent favicon: http://mintywhite.com/more/software-more/create-a-transparent-favicon-for-your-website/

I'm not sure about your issue with IE. Great tutorial, thanks a lot.  AND doing that fixed the IE problem somehow too!  Thanks!Glad to hear it's all sorted. IE does not support some .ico file. It can DISPLAY windows icon file for favicon.
1415.

Solve : need help in php code?

Answer»

helllo sir

I am creating a lyrics website.This is my categories form code please check update query not working. when i press submit button data is deleting not updating. what is problem in code.
Will really appreciate your help... Many thanks n regards.

_______________________________________ ____________________________

if(isset($_POST["thisID"])==true){

$targetID=$_POST['id'];
$DATE=date("Y/n/d");
$id=$_POST['id'];
$category=$_POST['category'];
$subcategory=$_POST['subcategory'];
$date=$_POST['date'];
mysql_connect("localhost","root","");
mysql_select_db("lyrics");

$query= "UPDATE categories SET id='$id', category='$category', subcategory='$subcategory', date='$date' WHERE id='$targetID'"or die(mysql_error());
mysql_query($query);
header("refresh:0;url= 'categories.php'");
exit();
}
?&GT;   

mysql_connect("localhost","root","");
mysql_select_db("lyrics");
if(isset($_GET['pid'])){
$targetID=$_GET['pid'];
$date=date("Y/n/d");
$query=mysql_query("SELECT * FROM categories WHERE id='$targetID' LIMIT 1");
$pCount=mysql_num_rows($query);
if($pCount>0){
while($row= mysql_fetch_array($query)){
$id=$row["id"];
$category=$row["category"];
$subcategory=$row["subcategory"];
$date=$row["date"];
}
}else{
echo "Sorry ";

}
}
?>   



Edit Lyrics
Category-ID
Category

Hindi Movies
Devosional Movies
Pop Songs
Reginal Songs
Album Songs
Subcategory

Movies Songs
Devosional Songs
Pop Songs
Reginal Songs
Album Songs



 

See here for info on updating VALUES: http://www.w3schools.com/php/php_mysql_update.asp

Also, this code is very unsecure and is LIABLE to SQL injection:
Code: [Select]$targetID=$_POST['id'];
$date=date("Y/n/d");
$id=$_POST['id'];
$category=$_POST['category'];
$subcategory=$_POST['subcategory'];
$date=$_POST['date'];

To solve this, do a strip_tags on all these variables.strip_tags? more like mysql_real_escape_string()...

or possibly some combination of both.Yeah, I should have said strip_tags to prevent XSS and ESCAPE them to prevent SQLI.
1416.

Solve : Table in HTML?

Answer»

Ref: www.fedbens.us

On my above site, I have ads on the left, ads on the right, and content in the middle.  I did this using frames.  But there are problems with frames.  Now I would like to use a table for these three, but I'm having a hard time.  My content in the middle is ALREADY a table, and maybe it is not possible to have a table within a table (?).  Also, maybe I cannot do what I want because the table setup is designed for just one row at a time (?).

Anyway, will you please take a LOOK at my site, and see what you think?  I suspect either it cannot be done at all, or it can be done and it is simple.  Ha!  Or perhaps there is another way?

Thank you.You can put tables in tables. No problem.
Use a WYSIWYG and make it easy on yourself.
Sea Monkey is both browser and a WYSIWYG editor.
http://www.seamonkey-project.org/    I would advise using CSS instead of tables and frames, and I would always advise against a WYSIWYG editor aswell.please i want some example how i can use css in html table..
i want to change table in my personal project. i have little idea about css LANGUAGE so please help...
THANKS in advance..
Quote from: Mcallums on June 22, 2011, 02:06:19 AM

please i want some example how i can use css in html table..
i want to change table in my personal project. i have little idea about css language so please help...
thanks in advance..

You need to start your own thread as hijacking someones elses thread is bad forum etiquetteI think Microsoft Expression Web 4 does well. It has a WYSIWYG editor and a HTML editor (where you can actually edit your HTML code itself) built into one, so you can do both.

By the way, it is free if you get it from link I listed above.

Also may want to look at this w3school css tutorial part regarding tables, GOOD source for information, if you're willing to look into the actual codings instead of letting an editor do it all for you.The tag defines an HTML table.
1417.

Solve : Background fade effect (javascript/jQuery)?

Answer»

Hey everyone.

I'm looking to replicate an effect I saw on an app used on an iPad.

Basically, there's a background image and a layered, centered content section. As you scroll down, the opacity of the background starts to FADE, without effecting the content section at all. By the time you scroll to the footer, the opacity is at around 10% or so.

Anyone know if this is possible using Jquery or can point me in the right direction?

Thanks for your time.Hello

to make this, you should separates between the div of the background and the other one which HOLDS the content by setting their position to absolute and apply a z-index CSS property to make the content above the background.

I don't know how do iPad apps looking but I think that if you want that div to fade on scroll, you should get the height of the background div, and use the onscroll event to check how long the distance that user have SCROLLED to calculate the new fade value

I HOPE I could do fine

regardsQuery is being used by more and more web designers nowadays to create simple animation in web pages. One of the most commonly used effect is the fade in/out effect which is used in image SLIDESHOWS, button hovers, page loads and more.


Don't copy/paste content from other sites without recognition


See here: http://medienfreunde.com/lab/innerfade/

--kpac

1418.

Solve : A good program for a beginner in photo editing??

Answer»

Hi everyone,

I was wondering if ANYONE had a good recommendation for a program that was easy to understand for basic banner creation and image editing? Adobe Photoshop is far too menacing looking for me!
http://www.google.co.uk/#sclient=psy&hl=en&safe=off&source=hp&q=free+image+editing+software&aq=1&aqi=g5&aql=&oq=free+image+edi&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=ab90aaaebdbbd579&biw=1366&bih=625PhotoFiltreI would say either Paint.NET or Paint Shop Pro. Personally I use an otherwise Ancient version of Paint Shop Pro (version 9, 7 years old or so) and I've YET to be wanting of functionality.Paint.NET definitely. http://www.getpaint.netThanks GUYS I have took up all of your opinions and I solved my problem

1419.

Solve : Accesory Box/Table?

Answer»

Hello everyone,

Im currently working on the build for my new eCommerce business and I was LOOKING for some INPUT on something. I will be selling SCOPES for firearms on my website and there is about 30 different kinds. I want to do something like ebay does when your looking at an auction and you hover over one of the images and it enlarges.  I want to incorporate this into a nice at the same time.  The theme of my site is a dark gray and black.

Thanks  That said, for your problem you have two choices:

1. Hire a web developer to do this.

2.Do it yourself. that seems to be what you are going for you might be able to find something on dynamicdrive.com. If you know javascript, learn jquery- I believe it has functionality that does exactly this. If you don't know javascript then you might be better off with option 1. Also, you MAKE no mention of what CMS you are using, if any, or any of the available technologies that you are using, or that you know how to use, which makes it difficult to advise.

Im using an HTML template and I know how to incorporate java.  Nothing fancy here...just focusing on functionality because not every user has a top notch system these days that can handle animation intense websites.

It would have been nice if you lectured him like you did me tbh. And knowing what I am incorporating on my website is IMPORTANT because many of the items look the same and without the enlarge image feature someone could mistakenly order the wrong item.I did find this, Which has a few snippets of javascript that you might be able to integrate.

Actually, come to think of it, you can do this without javascript at all, purely via CSS; not sure why I didn't think of it because I am using a similar technique on my own web page for my navigation links.


Basically, you would end up with something like this:

Code: [Select]<img src="blah/blah/image.png" class="displayimage">

hopefully your template uses the tag for showing the images (assuming it's working as is). Then, you can have css in either a

1420.

Solve : I can't figure out how to make a box on my webpage?

Answer»

Hello,
I was viewing a source code to see how it's done and I can't get two colors to show up, the whole page is the same color.. Can SOMEONE please help me. Here is the example I want to have.. I want the bg to be a light pink, and the body background white... please help me... thanks in advancehttp://lovingwordministries.org/Hello

I think you are trying to change the page background color using CSS, that's fine but look to the , the attribute bgcolor is set to #ccc change it or I prefere to remove it and control the color from CSS

regards

Feras Jobeir Quote from: feras on July 17, 2011, 11:51:20 AM

I think you are trying to change the page background color using CSS, that's fine but look to the <body>, the attribute bgcolor is set to #ccc change it or I prefere to remove it and control the color from CSS
Where do you see that in his CSS?  I see no INDICATION of that. I've tried changing the color for the bgcolor... but that MAKES the whole page the same color. I want the bg one color and then a white text box I can write in..Start from the beginning.

Think of a web page as a series of layers. On the bottom, you have the , which you have at a light pink.
What you need to do is add another layer on TOP of the and put your text in that. Here's the code.

Code: [Select]<body style="background:pink;">
    <DIV style="width:800px; background: #fff">
        <!-- content goes here -->
    </div>
</body>

You can use either style="whatever" or bgcolor="whatever". Using CSS (style) is probably better nowadays.thanks  kpac, that sure gave me a white box to type in, and thats great... however, thats not what I need... if you go to my page and refresh you'll see. What i'm wanting is a pink bg and the whole center of that page to be white... like when you put a pic on construction paper in a frame..
http://sugrbean.com/newlook3.htmli've tried it here also cant get it to work    http://sugrbean.com/newlook5.html
1421.

Solve : IE Display Issue with Spry Widget Menu Bar Vertical?

Answer» HELLO, I am working with a Spry Widget Menu Bar that is  Vertical. I have been checking the display on different browsers. In IE the sub-menu will not sit next to the main menu like in the other browsers. I am new to using a CSS please let me know what I missed. Here is what I get for the menus:

Google Chrome:



IE:

Here is my CSS:

Code: [Select]charset "UTF-8";

/* SpryMenuBarVertical.css - version 0.6 - Spry Pre-Release 1.6.1 */

/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

/*******************************************************************************

 LAYOUT INFORMATION: describes box model, positioning, z-order

 *******************************************************************************/

/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
{
margin: 0;
padding: 0;
list-STYLE-type: none;
font-size: 100%;
cursor: default;
width: 12.5em;

}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.HTML */
ul.MenuBarActive
{
z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 12.5em;

}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
{
margin: 0% 0 0 100%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1100em;
top: 0;
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
left: 0;
}
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
{
width: 8.2em;
}

/*******************************************************************************

 DESIGN INFORMATION: describes color scheme, borders, fonts

 *******************************************************************************/

/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
{
border: 1px solid #CCC;
}
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
{
border: 1px solid #CCC;
}
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
{
display: block;
cursor: pointer;
background-color: #EEE;
padding: 0.5em 0.75em;
color: #333;
text-decoration: none;
}
/* Menu items that have mouse over or FOCUS have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
background-color: #33C;
color: #FFF;
}
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
background-color: #33C;
color: #FFF;
}

/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
{
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
{
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
}

/*******************************************************************************

 BROWSER HACKS: the hacks below should not be changed unless you are an expert

 *******************************************************************************/

/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
{
position: absolute;
z-index: 1010;
filter:alpha(opacity:0.1);
}
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
media screen, projection
{
ul.MenuBarVertical li.MenuBarItemIE
{
display: inline;
f\loat: left;
background: #FFF;
}
}

Here is the code for the page its self.
Code: [Select]<head>
<meta http-equiv="CONTENT-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<!–[if IE]>
<style type=”text/css”>
body {word-wrap: break-word;}
</style>
<![endif]–>

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">

<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">

</head>
<p style="font-family:Garamond, Georgia, serif;">
<body>
<table width="100%" height="25%" border="0" align="center">
  <tr>
    <td><p><img src="circle.jpg" alt="" width="200" height="200"></p>
    <p>&nbsp;</p></td>
    <td>
      <p align="center"><font size="+4">Title</font>      </p>
      <ul id="MenuBar2" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="">Test</a>
          <ul>
            <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li>
          </ul>
        </li>
        <li><a class="MenuBarItemSubmenu"href="#">test</a>
          <ul>
          <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li></a></li>
          </ul>
       
        <li><a class="MenuBarItemSubmenu"href="#">Test</a>
          <ul>
            <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li>
          </ul>
        </li>
    </ul></td>
  </tr>
</table>
<table width="100%" height="25%" border="0">
  <tr>
    <td width="34%"><ul id="MenuBar1" class="MenuBarVertical"><font size="">
      <li><a class="MenuBarItemSubmenu" href="#">Test 1<br><br></a>
    <ul>
      <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li>
    </ul>
  </li>
  <li><a href="#" class="MenuBarItemSubmenu">Test 2<br><br> </a>
    <ul>
      <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li>
    </ul>
  </li>
   
  <li><a class="MenuBarItemSubmenu" href="#">Test 3<br><br></a>
  <ul>
      <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li>
    </ul>
  </li>
  <li><a href="#" class="MenuBarItemSubmenu">Test 4<br><br></a>
    <ul>
      <li><a href="#">Test A</a></li>
      <li><a href="#">Test B</a></li>
      <li><a href="#">Test C</a></li>
      <li><a href="#">Test D</a></li>
    </ul>
  </li>
</ul></td>
    <td width="66%">&nbsp;</td>
  </tr>
</table></center>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});


</script>
</body>
</html>

Thank you in advance. The answer is to edit the CSS with:

Code: [Select]ul.MenuBarVertical,
ul.MenuBarVertical li {
     width: 12.5em;
}
ul.MenuBarVertical ul,
ul.MenuBarVertical ul li {
     width: auto;
     white-space: nowrap;
}
1422.

Solve : Can possible??

Answer»

Hi Everyone,

I've server and 2 CLIENT.Server is open browser and open web page.2 client same(like server)open too.In web page two tabs,one of the tab is Auto read and another is Self read.Auto read tab is server showing web page.Self read is FREELY look into web pages.If Self read click browser new windows into my computer.I means Auto read also show browser.but it browser is Server browser.Self read show client PC own browser.







In these code.open new window but it new window is Server browser window.How can i open Client PC own browser.Client using VNC software.It's possible or not?Give me advice.

PS.
Sorry for my POOR English language.


Regards
kyishaungFor VNC you should connect via VNC to the other system thru VNC. Once you have a successfully AUTHENTICATED remote system handshake for VNC you can then control that system.

Why would you want your code to establish a remote ACCESS VNC connection via a web browsers java script routine that runs a main.php script??

1423.

Solve : Dynamic 3 Combo box?

Answer»

I make 3 combo box.They combo box name are CATEGORY,sub category,sub sub category. Using PHP,MySQL
3 table in database tbl_category,tbl_subcategory,tbl_sub.

2nd combo box data is DEPEND on 1st combo box data.Like that 3RD combo box data is depend on 2nd combo box data.How can i ?

1424.

Solve : In need of a nice software for creating gif animations for the web.?

Answer»

Hi everyone,
I just TOOK up the challenge of learning HTML. And would NEED a very great software for creating gif animations for the webpage. A LINK would be much appreciated.
Thanks 4 your time.

1425.

Solve : Need Help!! Urgent!?

Answer»

Greetings,

I am having some issues with a design that my company is trying to impliment. The site is:

http://loganvillebaseball.com/indexrac.php

The issues I am having are these:

CSS MENU - in IE 7 and below, and possibly 8 (don't know), the drop-down menus go behind the block data. ALSO ALIGNS left in IE 8 and lower.

HOME PAGE - the Latest News block has a scroll bar but in Firefox the scroll bar does not work. (works fine in IE)There is another scroll bar on page that is similarly defined beneath, and it does work.

Any help on the issue would be greatly appreciated.

Thank you
Michele

1426.

Solve : Html/CSS?

Answer»

I am somewhat experienced in html and new to CSS, my QUESTION is this: I have my CSS page as a gift shop but still experiencing new techniques in it to work. Trying to use an image from my left.html to GO to my right.html with redirecting? here is what I was trying to do:

using this:
Code: [Select]<a href="http://free.hostultra.com/~KntryLynnie/PoohsLight.html"><img src="http://i1200.photobucket.com/albums/bb331/KntryLynnie/th_Poohs-Lgthouse.gif?t=1312005188" border="0"></a>
to redirect to the right.html. PLEASE HELP.   How do you mean "to redirect"?

1427.

Solve : html color?

Answer»

Did you know that the Basic HTML Color set is a combination of 216 color? Here, you can find a tabulated view of the basic HTML colors here. It can be handy when you need to QUICKLY choose a standard HTML color for your SITE or any other project.

No SPAM, thanks, but thanks for the information anyway.

1428.

Solve : How to disable close button?

Answer» HI Everyone,

       In Open new POPUP window,how to disable close button.Javascript or other language.In javascript Code: [SELECT]window.open('main.php','null',"fullscreen,title=no,dialog=yes")In these code disable minimize and maximize,close button is still.How to disable close button only.

RegardsYou can't, and shouldn't want to.yeah why EXACTLY do you want to
1429.

Solve : Website BETA Testers needed?

Answer»

I need some WEBSITE BETA testers if anyone wants todo this? Im afraid I can't offer ay rewards or anything for the testing.



To mods - If im not allowed to post this here lock it now It's allowed, post more INFORMATION and you might get a few people.

I'm out anyway, sorry. I haven't got the time at the moment to be honest.This is mainly a forum that needs testing

Im after people testing the security of this to start with ... make sure there are no silly loopholes.

http://testforumimmental1200.tk - This is the forum at the moment, anyone interested in testing the main site as well PM me or reply below.

I want to find out if there are any BUGS etc in the forum, should be all OK but need to make sure.

Message the admin on the site and I will reply QUICKER than on here (probably)ive sent a 'u2u' to admin (user is joe)Thanks joe, I have replied VIA the forum.

1430.

Solve : can't download "images/" only "../images"?

Answer»

Hi-
Don't read below if you choose not to get involved in my shenanigans!

I've downloaded a website I like (purely for research purposes only of course) using File/Save As/Webpage Complete.
I've downloaded each of the individual images by going to the URL listed in the default CSS.
The complete URL is not listed (as in http://), only "images/" or "../images" for example.
I've used the domain name in the address bar plus "images/" to get most everything I need.
But, only those listed in the CSS with a "../" are available to me in the browser.
Those with "images/" yield the dreaded "PAGE cannot be found".
So by saving as Webpage Complete, no subfolders were downloaded from the root, only external folders I guess.

If anyone can help me in my "research", I would appreciate it, thanks.So, you're asking us to get involved in shenanigans.  Speaking for myself, I'm not getting involved. that's cool, i chose to post honestly, could have couched it in another WAY,
this would apply as a general question also- as in, why only external or "../"
folders are available in a URLI don't get the question to be honest.

Code: [Select]images/...is a relative path.

Code: [Select]../images...is the path to the images from the public root folder on the server.

But seeing as you've decided to tell us that you're doing some sort of shenanigans, this isn't worth leaving unlocked...

It is possible for webmasters to use certain METHODS to stop people hotlinking/downloading their images, so I'm guessing that's what's happening here. But apart from that, you shouldn't be downloading websites for your own "research", which I assume is not research.

1431.

Solve : How to Make Text Flow Around an Image?

Answer»

In my content pane, I would like to position an image at the left or right margin and have text flow around it.  I'm not an HTML EXPERT by any stretch of the imagination, but I can generally understand and insert HTML code.  I created the page in Dreamweaver 4 (running inside a virtual Windows XP partition in Windows 7--didn't want to have to spend big money for a Dreamweaver upgrade), but Dreamweaver does not seem to have a canned way to do what I need.

I tried creating a two-cell table row with the image in, say, the left cell and the text in the right, but there is more text than will fit within the height of the cell next to the image.  I'd like the text to automatically flow into a full-width table cell below the image row, but haven't been able to figure out how to do so.  Is there a way using tables?

Or alternatively, is there another way?

Thanks much!CSS.

Code: [Select]<img src="whatever.jpg" style="float:right;margin-left:10px;" width="50" height="100" />

The style attribute denotes CSS.

The float property in this EXAMPLE allows the image to move to the right and any text around the image will wrap around it. The image will "float" to the margin of the parent element, taking account for padding or whatever else might be in the way.

The margin-left obviously enough creates a margin of 10 pixels on the left of the image, just for visibility issues.Seconded.  CSS and HTML are WORTH learning thoroughly; certain aspects of web design are far from obvious when using WYSIWYG tools like Dreamweaver.

A long time ago, I stumbled across an article that really opened my eyes to the possibilities, wrapping text tightly around an image.  The website that carried that article is sadly now deceased, but the page is archived >here< and well worth a look.  This is known as the "sandbag" TECHNIQUE.Welcome back Rob.

Quote

A long time ago, I stumbled across an article that really opened my eyes to the possibilities, wrapping text tightly around an image.  The website that carried that article is sadly now deceased, but the page is archived >here< and well worth a look.  This is known as the "sandbag" technique.
Must say that's a great idea. Never thought of something like that. Quote from: kpac on August 09, 2011, 08:26:37 AM
Welcome back Rob.

Cheers!
1432.

Solve : help from php?

Answer»

hi...
iam new here....
i have a question pls
in another forum iam a member and in this forum have a section that especially to active member
and i wanna to see this forum
please have any method to see this forum while i see another forums except this?
is that any way to see php CODES sites?
i can view source for html code but not for php
is that any way?
with regardsThis forum is in PHP. It is a very large source code.
PHP is a SERVER side code.You will not see the code.
To learn how to use PHP READ a tutorial about PHP.
Example:
http://phpfordummies.org/PHP is PARSED on the server, before it reaches your BROWSER. Therefore you only see the HTML it outputs.

If you want to see the part of the forum for active members, become an active member. Locked.

1433.

Solve : Website Design?

Answer»

If you could rate the website out of 10? And comment below why you think this ?

Would be much appreciated.

Just in case the link above didn't WORK here it is again. 

     -- see belowI deleted the link from your post and am locking the thread. The site is a money making site and as such you may not link to it from here. You'll have to find customers somewhere else.Allan, 000webhost.com is not the website in question. The website, altitude.co.nr, is currently not up and running, hence the "under review" message.Ahhh - okay, thanks. Unlocked.immental1200, when the site is working post the link.This site is working... I have it open in another tab?

Just refreshed and its still there and 100% online...

http://altitude.co.nr

If that doesn't work then the link below will.

http://www.altitude.net84.net/I don't think the dark background goes with the ORANGE to be honest. Also frames are not a good idea.

I'd also recommend properly learning HTML and CSS instead of using those web builders. Then you won't have to add those ANNOYING "built by" links to the footer of the web pages. This is just one of my quick sites - I use a builder for these, I am currently building a bigger site and may post it on here when its done. You have to admit its better than the old one...
https://sites.google.com/site/altituderadiostation/
Yeah its alot better then the old one but as kpac said it is worth it to learn css and html and get rid of them website builders (or find one that doesnt have ads at the bottom) I can do CSS HTML and PHP - This is just a quick site, made for a friend in under 30 mins.

Quote from: joethomas3000 on August 08, 2011, 10:46:41 AM

Yeah its alot better then the old one but as kpac said it is worth it to learn css and html and get rid of them website builders (or find one that doesnt have ads at the bottom)

Personally I don't notice the adverts.

Quote from: kpac on August 02, 2011, 06:36:07 AM
I don't think the dark background goes with the orange to be honest. Also frames are not a good idea.

I'd also recommend properly learning HTML and CSS instead of using those web builders. Then you won't have to add those annoying "built by" links to the footer of the web pages.

I will consider CHANGING the colour scheme.I simply scored 3 because of lack of information. functionality wise its ok. Quote from: jaydeee on August 13, 2011, 02:43:39 AM
I simply scored 3 because of lack of information. functionality wise its ok.

Its a site in progress ... am awaiting licencing for most of the content - Its audio files. (Mostly copyrighted)
1434.

Solve : Strange question re: trouble viewing specific site?

Answer»

I'm thinking, it may be some DNS issue with a server.
Pinging IP works, but you can't go to the site, using numeric address.
Numeric address is not being translated to regular address.If you Google www.hockey4hope.org there are no hits, plenty for www.hockey4hope.com though.
Is this a legit thing Crystal?Did you check the cached .org page Broni?
Now Crystal is MIA.Cached pages WORK for me as well.
Can you access that site through Google link?I tried every which way for the main site, no good but did get to the Google cached site.As I said, I think it may be some issue with the server, but I'm going to bed anyway....hehehehockey4hope.org does not work for me; using Opera browser.  hockey4hope.com does work.  However, it's much more than a simple one-page site, which is how the OP described her site.  So, we seem to have some contradictory FACTS here.  A strange case ... Not MIA, just otherwise occupied.

I have no problem getting to the site through Opera, SAFARI, Google Chrome, IE, or firefox (all tried on Mac and PC). Other than the two people I originally mentioned, no one (that I know at least) has this problem. And if I can't duplicate the error, just like you can't duplicate the error, I can't fix it. That's why I came here, I was hoping someone could look at it and help me figure something out.

And yes, it's a real site. And yes, it is the .org, not the .com

I'm going to ask again about the OS, ISP and browser. Last time I asked the only answer I got was "Sprint Wireless". Not sure about the second person.Here is what I get as DNS results on the server side of things -

Quote

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> www.hockey4hope.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26876
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;www.hockey4hope.org.      IN   A

;; ANSWER SECTION:
www.hockey4hope.org.   14400   IN   CNAME   hockey4hope.org.
hockey4hope.org.   14400   IN   A   64.92.125.17

;; AUTHORITY SECTION:
hockey4hope.org.   86400   IN   NS   dns1.validns.com.
hockey4hope.org.   86400   IN   NS   dns2.validns.com.

;; ADDITIONAL SECTION:
dns1.validns.com.   991   IN   A   64.92.113.4
dns2.validns.com.   991   IN   A   64.92.114.4

;; Query time: 1 msec
;; SERVER: 10.10.10.72#53(10.10.10.72)
;; WHEN: Thu Mar  3 11:47:39 2011
;; MSG SIZE  rcvd: 148

I'm not experienced with this side of things so I'm not sure if this identifies the problem or not, but I thought the more INFO I could provide the better.I just tried to view the site in IE; it didn't work.  So, I'm quite sure I can not view it regardless of what browser I try.

Are you affiliated with http://www.hockey4hope.com?  http://www.hockey4hope.com already exists and is much more than a single-page website and it is a charity-oriented website.  So, why are you developing http://www.hockey4hope.org ?  Not that the reasoning behind the site is an issue, but they are different charities. I am only affiliated in the sense that I am the web-designer (and I handle the maintenance of the site). And I know for a fact that just because there is another charity with the same (similar) name, and a .com website with the same address as my .org has nothing to do with why only 2 people can't see the site when everyone else can.

And I don't have a problem viewing the site in IE, on a Mac or PC. I'm really confused by this problem.Ok, more research

the site does not have a dedicated IP address, but none of my sites do since everything is on the same server, which is my server.

Not sure if this helps or explains anything but it's still more info to work with.It must be something on your end (i.e. server). I can't access it either, just get a Server Not Found error.If that's the case why can 90% of people see it and only a handful having a problem? And why can no one have a problem seeing the other sites that are also on that server?

Check and see if you can get to some of the others -

www.rivercitybats.com
www.leddthanperfectsaint.com
1435.

Solve : HTML image not changing?

Answer»

Hello! I'm working on a website called felectronix.com (http://felectronix.com/index.html).
Today, when I was working on my site, I NOTICED that the top left image didn't change until I was pointing on it's upper half. Until then the link on it didn't work.
This issue exist on several of the pages on my site, though not on http://felectronix.com/more.html.

My page is built in html. please help me.
(index.html, the code down to it's content)
Code: [Select]<HTML>

<head>
<title>Felectronix</title>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
</head>
<div id="Javsacript">
<script type="text/javascript"> // <![CDATA[
if ( (navigator.userAgent.indexOf('Android') != -1) ) {
document.location = "http://mobile.felectronix.com/mobil.html";
} // ]]>
else
{
if ((navigator.userAgent.indexOf('/iPhone/i') != -1) || (navigator.userAgent.indexOf('/iPod/i') != -1)) {
document.location = "http://mobile.felectronix.com/mobil.html";
}
}
// ]]></script>
</div>
<body BGCOLOR="grey">
<div id="header" style="top: 0px; left: 0px; background: grey; width: 168px;">

<a href="http://felectronix.com/index.html"><img src="http://felectronix.com/resource/header1.png" border="0" width="168" height="200" title="Felectronix!" onmouseover="this.src='http://felectronix.com/resource/header2.png'" onmouseout="this.src='http://felectronix.com/resource/header1.png'" ALIGN="left" hspace="4" VSPACE="0">
</a>
</div>
<div id="header2" style="top: 0px; left: 176px; background: grey; height: 65px;">
<a href="http://felectronix.com/Forum.html"><img src="http://felectronix.com/resource/forum.png" border="0" title="Visit the forum" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/forum.png'" align="top"></a>

<a href="http://felectronix.com/chat/index.html"><img src="http://felectronix.com/resource/chat.png" title="Enter the chatroom" border="0" align="top" hspace="0" vspace="0" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/chat.png'"></a>

<a href="http://m.felectronix.com/index.html"><img src="http://felectronix.com/resource/mobile.png" border="0" title="Visit the mobile site" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/mobile.png'" align="top"></a>

<a href="http://felectronix.com/more.html"><img src="http://felectronix.com/resource/experience.png" border="0" title="Experience MORE!" onmouseover="this.src='http://felectronix.com/resource/more.png'" onmouseout="this.src='http://felectronix.com/resource/experience.png'" align="top"></a>

<a href="http://felectronix.com/contact.html"><img src="http://felectronix.com/resource/contact.png" border="0" title="Contact the felectronix team" onmouseover="this.src='http://felectronix.com/resource/us.png'" onmouseout="this.src='http://felectronix.com/resource/contact.png'" align="top"></a>

<a href="http://felectronix.com/chat/faq.html"><img src="http://felectronix.com/resource/FAQ.png" title="FAQ - Frequently Asked Questions" border="0" align="top" hspace="0" vspace="0" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/FAQ.png'"></a>

</div>
<div id="foot" style="position: fixed; bottom: 0px; left: 0px; background: grey; width: 100%; height: 30px;">
<img src="http://felectronix.com/resource/row.png" width="100%" height="30px">
</div>
<div id="footapp1" style="position: fixed; bottom: 1px; left: 10px; height: 27px;">
<a href="http://felectronix.com/index.html"><img src="http://felectronix.com/resource/face.png" border="0""></a>
</div>
<div id="Google+1" style="position: fixed; bottom: 1px; left: 92%; height: 27px;">
<g:plusone href="http://felectronix.com">+1</g:plusone>
</div>
<div id="TWEET" style="position: fixed; bottom: 1px; left: 80%; height: 27px;">
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://felectronix.com/index.html" data-text="I just visited felectronix.com! They've got a forum, a chat AND a mobile site. Check it out!" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<DIV id="content" ALIGN="CENTER" style="position: fixed; top: 75px; left: 0%; width: 100%;">
<DIV id="contentbox" ALIGN="CENTER">
<span style="color:black">
almost the same code, but more.html:

Code: [Select]<html>
<head>


<title>Felectronix - MORE!</title>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
</head>
<div id="Javsacript">
<script type="text/javascript"> // <![CDATA[
if ( (navigator.userAgent.indexOf('Android') != -1) ) {
document.location = "http://mobile.felectronix.com/mobil.html";
} // ]]>
else
{
if ((navigator.userAgent.indexOf('/iPhone/i') != -1) || (navigator.userAgent.indexOf('/iPod/i') != -1)) {
document.location = "http://mobile.felectronix.com/mobil.html";
}
}
// ]]></script>
</div>
<body bgcolor="grey">
<div id="header" style="position: fixed; left: 8px; background: grey; width: 168px;">

<a href="http://felectronix.com/index.html"><img src="http://felectronix.com/resource/header1.png" border="0" width="168" height="200" title="Felectronix!" onmouseover="this.src='http://felectronix.com/resource/header2.png'" onmouseout="this.src='http://felectronix.com/resource/header1.png'" align="left" hspace="4" vspace="0">
</a>
</div>
<div id="header2" style="position: fixed; left: 183px; background: grey; height: 65px;">

<a href="http://felectronix.com/Forum.html"><img src="http://felectronix.com/resource/forum.png" border="0" title="Visit the forum" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/forum.png'" align="top"></a>

<a href="http://felectronix.com/chat/index.html"><img src="http://felectronix.com/resource/chat.png" title="Enter the chatroom" border="0" align="top" hspace="0" vspace="0" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/chat.png'"></a>

<a href="http://m.felectronix.com/index.html"><img src="http://felectronix.com/resource/mobile.png" border="0" title="Visit the mobile site" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/mobile.png'" align="top"></a>

<a href="http://felectronix.com/more.html"><img src="http://felectronix.com/resource/experience.png" border="0" title="Experience MORE!" onmouseover="this.src='http://felectronix.com/resource/more.png'" onmouseout="this.src='http://felectronix.com/resource/experience.png'" align="top"></a>

<a href="http://felectronix.com/contact.html"><img src="http://felectronix.com/resource/contact.png" border="0" title="Contact the felectronix team" onmouseover="this.src='http://felectronix.com/resource/us.png'" onmouseout="this.src='http://felectronix.com/resource/contact.png'" align="top"></a>

<a href="http://felectronix.com/chat/faq.html"><img src="http://felectronix.com/resource/FAQ.png" title="FAQ - Frequently Asked Questions" border="0" align="top" hspace="0" vspace="0" onmouseover="this.src='http://felectronix.com/resource/visit.png'" onmouseout="this.src='http://felectronix.com/resource/FAQ.png'"></a>

</div>
<div id="foot" style="position: fixed; bottom: 0px; left: 0px; background: grey; width: 100%; height: 30px;">
<img src="http://felectronix.com/resource/row.png" width="100%" height="30px">
</div>
<div id="footapp1" style="position: fixed; bottom: 1px; left: 10px; height: 27px;">
<a href="http://felectronix.com/index.html"><img src="http://felectronix.com/resource/face.png" border="0""></a>
</div>
<div id="Google+1" style="position: fixed; bottom: 1px; left: 92%; height: 27px;">
<g:plusone href="http://felectronix.com">+1</g:plusone>
</div>
<div id="Tweet" style="position: fixed; bottom: 1px; left: 80%; height: 27px;">
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://felectronix.com/index.html" data-text="I just visited felectronix.com! They've got a forum, a chat AND a mobile site. Check it out!" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<br><br><br><br>
</div>
<span style="color:gold">
<big><big><big><big><br>
<DIV id="content" style="position: center; align: center; top: 90px;">
<div align="center">Wow.  That's a bit of a mish-mash.  Are you coding this in a text-mode editor or using a WYSIWYG editor?

Your javascript div - why have you created a div for this?  Why not just put that script in the head instead?

You're mixing CSS (style="...") with deprecated HTML tags (ALIGN, HSPACE, VSPACE, WIDTH, HEIGHT).  I would strongly recommend ditching the deprecated tags - just use CSS.  It will cause less confusion and make debugging easier.

In the above case, the ALIGN="left" tag is apparently causing the browser to float the image and consequently lose its height in the text flow.  But if you remove that tag you will cause other problems, related to the odd way you're mixing your styling.

Why not strip it all back, start with one of the classic CSS layouts and begin again?

Here are some good examples:

http://www.noupe.com/css/css-layouts-40-tutorials-tips-demos-and-best-practices.html
http://www.beansoftware.com/CSS-Table-Div-Layouts/Three-Columns-Fixed-CSS-Table-Div-Layout.aspx
http://www.sohtanaka.com/web-design/semi-liquid-layouts-tutorial-tips/
http://960.gs/

(Personally I use 960.gs a lot.)Thanks for the tip. I'll have a check and see if it solves my prob. I've never done any other coding than html, and then I've implemented what I've learnt on the web to create what it is now.
It's all been done with notepad and gedit, so purley text coded. I've actually borrowed some books on CSS and JavaScript today, and hopeully, I'll be able to improve my site layout (and codinglayout too  ).

Someday I'll go on a course for all this, when there's one availible that's NOT basic word or ppt knowledge. (small town)

THX!

1436.

Solve : What do you look for in a good hosting company??

Answer»

So what do you look for in a good hosting company, some people like unmetered and some people like limited specs etc but what do you WANT and for what price??? I want ulimited bandwith, an easy ot use cpanel, intergrated ftp and a basic site maker, lots of storage and all for under £15 a month Quote from: immental1200 on August 01, 2011, 12:12:20 PM

I want ulimited bandwith, an easy ot use cpanel, intergrated ftp and a basic site maker, lots of storage and all for under £15 a month

Thanks for your sensable commentThere are so many good hosts, it is hard to pick just one.
But you need to be suspicious to those who claim they can offer real bargain service and  get everything you want.

Asking for unlimited anything is not reasonable. Specify want you want an shop PRUDENTLY. Now take a look at this:
http://www.1and1affiliate.com/tips/press-affiliate-news/unlimited-traffic/
Do y0u think they could really, really offer unlimited anything? Even with fiber optics, the servers themselves have finite NUMBER of CPUs and a finite bus bandwidth inside the box. And if one  has unlimited bandwidth, then why do some customers pay three and fours times as much as what the OP stated, 15 ponds.

Dedicated servers lease for about $150 per month, more or less. It GIVES as much bandwidth as nit can. These people want to talk to you first, then tell you want you need:
http://www.rackspace.com/hosting_solutions/
But don't let them talk you into want you do not need.

In the UK, check out http://34sp.com for competitive prices.

And no, I am not part of any of them.  Just trying to be helpful.
Forgot to mention: http://netobjects.com/
For some, it could be a good choice.

Quote from: Geek-9pm on August 08, 2011, 05:14:33 PM
There are so many good hosts, it is hard to pick just one.
But you need to be suspicious to those who claim they can offer real bargain service and  get everything you want.

Asking for unlimited anything is not reasonable. Specify want you want an shop prudently. Now take a look at this:

Do y0u think they could really, really offer unlimited anything? Even with fiber optics, the servers themselves have finite number of CPUs and a finite bus bandwidth inside the box. And if one  has unlimited bandwidth, then why do some customers pay three and fours times as much as what the OP stated, 15 ponds.

Dedicated servers lease for about $150 per month, more or less. It gives as much bandwidth as nit can. These people want to talk to you first, then tell you want you need:

But don't let them talk you into want you do not need.

In the UK, check out 34sp for competitive prices.

And no, I am not part of any of them.  Just trying to be helpful.
Forgot to mention:
For some, it could be a good choice.



34sp is alright but for a beginner its ctrl panel isnt the best to get around and thanks for your postYes, 34sp.com has a very spartan control panel. You said you were a beginner.

Many hosts offer cpanel, which has most of what you need.

Also, Most hosts will let you log directly into the shell if you have a premium account. With you own server, that is what you already have. But you want a GUI that makes things easier to manage - Right?

BTW: Many professionals prefer to do the whole site in WordPress. 
Why? Just because. I really don't know why. They just do. Quote from: joethomas3000 on July 26, 2011, 09:29:38 AM
what do you look for in a good hosting company
The hosting company doesn't upgrade systems or change things arbitrarily... Quote from: Rob Pomeroy on August 11, 2011, 06:20:29 AM
The hosting company doesn't upgrade systems or change things arbitrarily...

Gotta agree with this .... was using a company recently and they posted notifications about upgrading the other servers. My servers name wasn't listed so I assumed it would be OK, Then when I started getting errors, they told me it was being upgraded... helpful ! Quote from: joethomas3000 on July 26, 2011, 09:29:38 AM
So what do you look for in a good hosting company
How do they provide support to clients?  Many low cost hosting services have a support forum and may provide email support.  For telephone support, you'll probably have to look at a higher price level.

Do they have a setup fee?  How does billing work?  Can you elect to pay by month or do they lock you in to paying for a year to get started? 

Do they offer features such as easy forum installation in case you want to have a forum on your website?

Reliability.  You won't be a happy camper if you find your site down at various times. Back to topic. Here is an item of interest.
http://beta.dreamhost.com/
I have no idea of the quality of this company. But what they did right was a very nice professional looking, IMHO, home page. It would appear that they at least spent some time and money on a nice presentation. And they tell you right up front what you get and what it costs. Quote from: Geek-9pm on August 13, 2011, 05:32:33 AM
Back to topic. Here is an item of interest.
http://beta.dreamhost.com/
I have no idea of the quality of this company. But what they did right was a very nice professional looking, IMHO, home page. It would appear that they at least spent some time and money on a nice presentation. And they tell you right up front what you get and what it costs.

Uh ... bad link

Or the sites down :L Quote from: immental1200 on August 16, 2011, 02:58:36 PM
Uh ... bad link

Or the sites down :L

LOL  The site is down! Well, mark  that none off.The problem with hosts that offer cheap services and unlimited everything is that they oversell a lot. It's not worth it to go with a cheap host that will disappoint you.

Choose a host that has a great reputation. I've been using WestHost for 3 or 4 years and I've always loved it.
1437.

Solve : E-MAIL LINKS,CHAT ROOM,PROFILE?

Answer»

Good day here my gentle co-designer.
 Am just a beginner in web design and currently IM planning to host a web with bluehost.My problem is that i wanted to add e-mail links to it LIKE SIGN UP,SIGN IN,REGISTER,FEED BACK AND HOW TO maintain all the users PROFILE like that of social networking site.thanksPerhaps one step at a time.  If you'd like to hit the ground running with web design, consider investing some time learning about WordPress, DRUPAL or some other such content management system.Thanks man
 but what are wordpress,drupal and so on are? plz enlight me moreStart here:

http://en.wikipedia.org/wiki/Content_management_system

1438.

Solve : Positioning?

Answer»

I am trying to put a Weather widget on the HOME page. I got it centered ( i know easy) but i would like to have it to the right SIDE of the page and down about a 1/3 of the way. Can someone explain to me how i do that?
Thank you in advanceMake a table. Put transparent GIF  in the table. Or use Dream weaver or some other tool that does all that stuff for you.
Quote from: Geek-9pm on August 24, 2011, 11:16:14 PM

Make a table.

Argh!

>This page< deals nicely with two issues: the best way to centre items horizontally and why vertical positioning of the type suggested is a pain in the neck.  It can be done, but it's usually a trick involving either javascript or Flash.

Accessibility is my number one reason why not to use tables for layout, but there are many others. Quote from: Geek-9pm on August 24, 2011, 11:16:14 PM
Make a table. Put transparent GIF  in the table.
Yeah that would totally be a stylistically acceptable and often used method.
...

If it was 1996.
1439.

Solve : DATA BASE AND HTML?

Answer»

Hey my people of good community
 Just WANT to know about this two TERM as related to website design and more how to host a website without paying money to any hosting company?  Quote

how to host a website without paying money to any hosting company?
Just do a Google search for FREE web hosting and you'll get plenty of results.Thanks to moderator in person of kpac your highness.But is this free web hosting reliable and trusthworthy? Quote from: Ademil4vic on September 02, 2011, 02:12:29 AM
Thanks to moderator in person of kpac your highness.But is this free web hosting reliable and trusthworthy?

How do you expect us to know that? That is for you to FIND out! Why do you ASK so many silly questions?
1440.

Solve : The Biggest Web Design Trends of 2011?

Answer»

1. Less Use of Flash It is not the fact that Flash is not a great technology...(when used appropriately it is)...but in the past year or so it has been over used, misused, abused to the point that it has developed a bad reputation. Certainly, the ongoing shenanigans between Adobe (creator of Flash) and Apple (iPhone and iPad) are not helping the situation. Today, websites need to have a clean, uncluttered design, fast loading and above all must be Search Engine friendly. This is a problem for Flash and now with the coming of the new web coding languages of HTML5 and CSS3, together with the explosive growth of web surfing on mobile devices perhaps it is the beginning of the end of Flash in web design.

2. Simpler and Cleaner Design Simple. Minimal. Uncluttered. There's nothing quite as "attention grabbing" as an honest, straightforward message on a quiet backdrop. Quiet can be interpreted several different ways. Forget black and white or shades of gray, although these are still very popular in certain industries. Think of GREEN, yellow, red or even blue as your primary color. However, limit your palette to two or three colours. Work WITHIN the shades of each colour for variety and depth. It can be truly remarkable what a few colors can do for effective messaging.

3. Mobile Ready Design Smartphones, tablets, NETBOOKS, the list goes on and on. There's a dizzying amount of mobile products available to the consumer in 2011. This means your web design must be responsive to multiple devices. Creating a mobile ready website is not simply removing the bells and whistles from your existing design. One of the most important advances is that you can design a whole site and allow your coding to conform to the user's viewing medium. It may be tempting to just create a dedicated mobile site, but that may no longer satisfy your audience. Increasingly, mobile sites include the option to visit the original site. If you do not offer this option or if your original site is not optimized to mobile standards, you are simply not ready for 2011. Forecasters predict that smartphones will outsell personal computers this year, and by 2013 more time will be spent surfing the internet on a mobile device than on a personal computer.

4. Large Photographic Backgrounds Large scale backdrops will surge in 2011. These images will be high resolution, and COVERING the entire site. Large photos are an instant way to grab your audience. Massive images were once taboo for web designers, but thanks to better image optimization, faster internet connections, and smarter loading methods, designers can gain a lot in some sites by pushing image sizes to the maximum. Trends also point to soft and slightly transparent imagery that does not over shadow your content, but harmonizes with it.

5. QR: Quick Response You may have noticed those square barcodes (looks like lots of squiggly unrelated lines) popping up on business cards, magazines or elsewhere, so you may already know that they are a hot trend for 2011. These barcodes are called QR, short for Quick Response. And how exactly does QR translate into web design? Quite well, in fact. Simply take a photo of the unique barcode with your camera phone. Like magic, your phone will call up the website associated with that barcode. The beautiful thing about QR is the flexibility. Feature your QR on your website, in order for site visitors to have a shortcut to your mobile site. 2011 is all about mobility and it will be smart to take advantage of this new medium.Thanks for the hints.I heard  somewhere that flash is not recommended by SEO experts .If it is true then why thousands of website are using Flash. Quote from: steevewd on August 28, 2011, 01:45:10 AM

I heard  somewhere that flash is not recommended by SEO experts .If it is true then why thousands of website are using Flash.

IMHO...

1. People like "rich content" (little videos).

2. Flash as a format has become widespread on the desktop market; one estimate is that 95% of PCs have it, while Adobe claims that 98 percent of U.S. web users and 99.3 percent of all Internet desktop users have installed the Flash Player, with 92 to 95% (depending on region) having the latest version.

3. Whether Flash is SEO suicide depends on which "SEO expert" you're listening to. Certainly Flash has had a bad rep with search engine operators because of its use for cloaking and spamming and because of lazy or careless site design, but if alternative content is a faithful representation of the Flash content then SEO need not be a problem, I have "heard somewhere".

4. SEO isn't everything.


1. Is "the new web coding languages of HTML5 and CSS3" really going to replace Flash for the vast amount of streaming media now on the web?  I'll have to see it to believe it.

4.  This seems to conflict with #2 and #3.  How would large photographic images be effectively used in web content for small mobile devices?  Even, for PCs, this notion of Large Photographic Backgrounds would still be huge waste of bandwidth.  Many newer web developers have drifted away from the practice of optimizing graphics for the web, that was much more common in the days of widespread dailup Internet access, due to the growth of broadband Internet access. But, even with my DSL connection, I sometimes encounter a website where I need to wait for images on the page to download.  This is usually the result of total ignorance of the web developer regarding image optimization.  They'll take a photo from ... what? ... a recent model digital camera, which nowadays can mean something in the range of 10MP or higher resolution photos - just one photo may be 2 -3 MB and over 2K pixels in width - and then they put that photo on a webpage where they're forcing the browser to display it at much smaller dimensions.  What they should be doing is resizing the photo BEFORE using it on the web.  But, ignorance or laziness gets in the way.  So, I think we'll have to wait and see for the FINAL verdict on the use of Large Photographic Backgrounds.  I agree with this 5 posted trends ideas, just wondering if its your personal opinion/observation or from a survey or anything.
thanks.
1441.

Solve : What are html as regarded in web design?

Answer» HEY guys,
 I am ALWAYS GOT confused with this TERM HTML,whts the FULL meaning,uses? are they software or codes on windows? plz help me with full detailWhy are all your subject titles in capital letters? They are tiring to read.

http://en.wikipedia.org/wiki/HTML
Thanks to you all,i've been to the site and it was of helpful.Well,i will take note of that now on salmon trout.
GOD BLESS
1442.

Solve : Help pls..Numbers into words?

Answer»

Hello
  I would like to know How do I change Numbers into words,  I have a programming code that does this but I can't get it to work so I want to change it in to a java code instead so it can work on INTERNET explorer page.

Any help would be great thanks
Carl

Please don't post the same question more than once. I deleted the other topic.Java or Javascript?Sorry about that Allan

Hi Kpac I don't mind which ever one is easier to do.No, I meant which one were you talking about?
Quote

I want to change it in to a java code instead so it can work on internet explorer page.

Also, post the code you have at the moment.Ok Well I'm new to coding so I guess javascript

My Programming Code Is......

/*
 *  Function:    number_to_words
 *  Description:  recursive numerics to words function
 *  Converts a given integer (in range [0..1T-1], inclusive) into
 *  alphabetical format ("one", "two", etc.)
 *  int
 *  return string
 */

function number_to_words($number)
{
    if (($number < 0) || ($number > 999999999))
    {
       throw new Exception("Number is out of range");
    }

    $Gn = floor($number / 1000000);  /* Millions (giga) */
    $number -= $Gn * 1000000;
    $kn = floor($number / 1000);     /* Thousands (kilo) */
    $number -= $kn * 1000;
    $Hn = floor($number / 100);      /* Hundreds (hecto) */
    $number -= $Hn * 100;
    $Dn = floor($number / 10);       /* Tens (deca) */
    $n = $number % 10;               /* ONES */

    $result = "";

    if ($Gn)
    {  $result .= number_to_words($Gn) . " Million";  }

    if ($kn)
    {  $result .= (empty($result) ? "" : " ") . number_to_words($kn) . " Thousand"; }

    if ($Hn)
    {  $result .= (empty($result) ? "" : " ") . number_to_words($Hn) . " Hundred";  }

    $ones = array("", "One", "Two", "Three", "Four", "Five", "Six",
        "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "THIRTEEN",
        "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eightteen",
        "Nineteen");
    $tens = array("", "", "Twenty", "Thirty", "Fourty", "Fifty", "Sixty",
        "Seventy", "Eigthy", "Ninety");

    if ($Dn || $n)
    {
       if (!empty($result))
       {  $result .= " and ";
       }

       if ($Dn < 2)
       {  $result .= $ones[$Dn * 10 + $n];
       }
       ELSE
       {  $result .= $tens[$Dn];
          if ($n)
          {  $result .= "-" . $ones[$n];
          }
       }
    }

    if (empty($result))
    {  $result = "zero"; }

    return $result;
}
That's PHP. All you do is called the number_to_words function, i.e.

Code: [Select]<?php
  number_to_words(560); 
?>...should return "five hundred and sixty".yea but What I mean Is,
  I've opened up text Document and TYPED in the html,head,script,body & html the Basic stuff and I've placed it in between the Placed it here and when I open It it doesn't do anything just shows me the code.

I don't know anything about php. Quote
I've opened up text Document and typed in the html,head,script,body & html the Basic stuff and I've placed it in between the <script>Placed it here</script> and when I open It it doesn't do anything just shows me the code.
That's the problem.

Here: http://javascript.about.com/library/bltoword.htm
More: Goooooogleyea I was hoping to change 1-24 into words that I type in ie:- 1 = pasta 2 = chips 3 = pie 4 = soup 5 = shreddies etc etc

Say I type 24 words and it changes all my numbers into those words To be honest, all the hard work has been done for you.  Converting the code from PHP to javascript is not that difficult.

Do you want someone to do the whole exercise for you?  You might be interested in trying http://www.vworker.com/ - there are coders in India that would do something like this for $5 or so.
1443.

Solve : banner code??

Answer»

Hello everyone,

I am NEW to this and needing help.  I am needing the code to add a banner that i created and is saved to my hard DRIVE for html code.  I am wanting to insert it into the layout code.

Can someone help me PLEASE?

Thanks,
cbear73Try this:
http://www.htmlgoodies.com/primers/ad_banners/article.php/3477791I believe you NEED to study this: http://www.w3schools.com/tags/tag_img.asp

1444.

Solve : How to redirect to a website after we click facebook 'like' button on blogger?

Answer»

I have facebook 'like' button under every post of my blog. Currently when the user 'like' my POSTS, the same blog post is posted on the users facebook WALL. What I want is, subsequently a new website link (of my choice) should also open in a new window. Is this possible?

Currently this is the facebook 'like' code I have on my blogger




Thanks in advance, Much appreciated if somebody answers thisSo basically you want to re-direct people to a link that they had no idea they were CLICKING on? If you have a 'like' button then that 'like' button should be for the page it's attached to.
If you ACTUALLY try to re-direct people, your are basically saying your site is untrustworthy and all links on your site are not to be trusted. This is just spam.


Were not in the habit of helping people do this sort of under handed STUFF.

1445.

Solve : opening links in the same window?

Answer»

I am looking for a code to open my links in the same window. I have designed  two tables left(contains links) and right(webdetails) side by side of the same height.will some one  please guide me  how I can code to open all my links in the same window(RIGHTSIDE) while the link portion of the table(left) remain unchanged and all my links  opened in the right side of the table.(I do not LIKE to use iframes)
Thanks
















tYou could use javascript to cause clicking on one side to change the content of the other.  I wouldn't use tables for layout though.

Anyway, have a look at this demo for some ideas: http://www.dyn-web.com/code/basics/change_content.phpjQuery could do this nicely.jQuery plugin is referenced in my above link.   So it is.

EVEN still, $.ajax() WOULD do the job.

1446.

Solve : Help with webpage Masthead?

Answer»

Hoping someone can help me.  I WOULD like to make a very attractive template to use on my WEBSITE.  What I would like to do is use swirls that are overlapping the TOP of the page.  Think of it as leaves hanging over the top of the page and flowing up out of the top of the page.

How would you accomplish this?  I have Photoshop, although I am a complete newbie, but willing to learn and try. 

I have some brushes of swirls that I have downloaded but would like to use my logo colors. 

Need help or point me toward a tutorial that will help.  So essentially need to KNOW how to make the page so I can use it as a template and how to move swirls around in different poses and so they hang or overlap the top of the page.

Is there a template AVAILABLE out there to buy?  (Not too expensive please)  I know I would still have to change any template to my logo colors.

1447.

Solve : A cheap way to gain traffic??

Answer»

Hello everyone,

I am in the final stages of polishing up my HTML code for my website before I start putting it out there on the net. I am unfortunately on a limited budget so I was wondering if there was a way to really get the hits I need to be successful without spending a lot of money? I hired an agency to supposedly get my name out there on a website I did many YEARS ago but they were a total joke and retained me zero traffic. I know ONE of the best WAYS to get my companies website name out there is word of mouth VIA business cards but I was just wondering if anyone else knew of any tips for me?Google rankings. Get LINKS to your website from other popular websites of the same interest. Quote from: kpac on September 20, 2011, 11:01:51 AM

Google rankings. Get links to your website from other popular websites of the same interest.

Thanks for the info!some web site hosting company's offer free advertising stuff, my website hosting is offering me some free facebook advertising credit to help spread the word
1448.

Solve : Which of the web design software is best and cheap when hosing?

Answer»

Good morning,
 Which of the web design software is easy to use,cheap and best when hosting with their hosting companyOpinions differ; you should do some research.

Also, please stop using CAPITAL LETTERS in the title.You may want to check first some reviews about different hosting services according to your needs. There are lot of cheap hosting services which may work with the web design software you have but may have a lot of DOWNSIDES on the other hand.Some web hosting such as ipage   give you a  free web site CREATOR with there hosting packages

Adobe Dreamweaver  comes with a steep price,  i often RUN Kompozer from my flash drive its an free to download

http://kompozer.net/ Quote from: sam_coles on September 22, 2011, 12:18:50 AM

You may want to check first some reviews about different hosting services according to your needs. There are lot of cheap hosting services which may work with the web design software you have but may have a lot of downsides on the other hand.
I agree-for example weebly.com has a WYSIWYG editor which is geared at those wanting to build a simple website, saving them the hassle of manual HTML coding.
1449.

Solve : CSS small problem!?

Answer» HELLO, I have designed a we page in CSS and my paragraph text is EXCEEDING the CONTAINER. Here are the codes below and also a SCREENSHOT:

1450.

Solve : joomla installation?

Answer»

can any one please tell me all additional softwares i NEED to download before installing joomla.Is there any special way of installing it?I think its better than writing series of html codesJoomla is just one of many free systems to organize your web page design.
Quote

Joomla is a free and open source content management system (CMS) for publishing content on the WORLD Wide Web and intranets and a model–view–controller (MVC) Web application framework that can also be used independently.

Joomla is written in PHP, uses object-oriented programming (OOP) techniques and software design patterns[citation needed], stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.
...
http://en.wikipedia.org/wiki/Joomla

But you could have found that with a Google search. Do you have any idea of how deep this goes? Do you understand what PHP is? Do you have an idea of what SQL is?  Have you unwritten any amount of HTML code? With CSS?

To test your code you will need either a remote server, or else the equivalent  on you local system.

Not TRYING to discourage you or anything like that. Your name indicates this is NEW stuff for you.  But hang on. There are many here who will help you with your  goal to learn how to design web pages.You might ask in http://forum.joomla.org/