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.

1351.

Solve : Can't view bio or background color?

Answer»

How does the code look for background so I can learn itMore DETAILS could have helped You and Us both Heh, all that information! Too much,. STOP!

I'll take a WILD guess at what you mean.
Code: [Select]<body style="background-color: #000000;"> ..... </body>KPAC you can read minds it seems

1352.

Solve : problem in embedding swf stream?

Answer»

Code: [Select]<iframe allowfullscreen="true" flashvars="autostart=true" frameborder="0" height="360" id="myfr" marginheight="0" marginwidth="0" name="player" scrolling="no" src="http://www.xyz.info/link1.swf" type="application/x-shockwave-flash" WIDTH="610"&GT;</iframe>
I have this fragment of code to show live matches but the flash player is not getting FULL screen and not autoplaying,

PLEASE HELP..

Thank You
Why not use the and tags?

1353.

Solve : Table stretching in different browsers?

Answer»

Don't believe this is overly complicated but I'm having a lot of trouble fixing it.

Problem: Putting together a site with some layering, mostly sliced up from Photoshop in HTML. I intend to learn CSS but for now I have to get the site up as is and just working.

The site is here: kabledesigns.com/pam/test/

In SAFARI the site displays FINE but in Firefox the right side is screwed up. As you can see (with firefox and in picture included) on the right the TD's stretch and in turn show the white background. I have tried to fix the width of each TD along with a valign 'top' but have had no luck.

Not sure if this is a colspan/rowspan issue but Dreamweaver isn't being very helpful in the manner either. Any idea WHAT is causing this problem?

If it helps at all, here is a link to the site with a 3 pixel border added around the whole table: kabledesigns.com/pam/test/index2.html

Help is greatly greatly appreciated

Quote

As you can see (with firefox and in picture included) on the right the TD's stretch
I presume TD means the HTML tag for a table cell, or , right?  Actually, the table cells on the right side of the page do not "stretch".  What's causing the white space to the right is simply the fact that you have a fixed width page.  So, when viewed in a browser window that's wider than your fixed-width page, you're going to see white space to right. 

Apparently, you've designed the page so that it covers the whole screen width on your computer when viewing it with Safari.  But, you have FAILED to recognize that visitors to your site will have a wide RANGE of screen resolutions and different monitor sizes.  Here's what I see on a 19 inch monitor set at 1680 x 1050 resolution, using Internet Explorer 8:


And, of course, the same amount of white space appears on the right if I view it in Firefox, on the same monitor.

The white background in the space to the right is simply due to the fact that you have set white as page background.

Until you learn CSS and more advanced techniqes for controlling page layout, I sugggest you center the page and, if you do not want that empty space to the right, and to the left if the page is centered, then choose a color other than white or an image as page background.

To center a page which uses tables for layout, such as yours, you can put the entire page inside another table and then center that table.   An example of a fixed width page where one background color appears across the entire span of the page: http://www.pigeonroostfarm.com/.  An example where the overall page background and the background in the centered page body are different: http://hosanna-lutheran.org/.
1354.

Solve : Referrer spam!!!!?

Answer»

How do you deal with it?  I had used this format in my .htaccess FILE

## Tag our known REFERRER spammers
SetEnvIfNoCase Referer “.*.referrerspammerdomain.com” ReferrerSpam
(LOADS more here)
## Block our known referrer spammers
order deny,allow
deny from env=ReferrerSpam

I found the above way of doing it, online in an article (I'm not too much expert on these matters so PLEASE go slow with me).  This seemed to work for a while.  But today they're all showing back up. 

How do you keep them off your stats?

I use gostats and it divides the traffic into different sections so I can see where the REAL visitors come from.

1355.

Solve : Is there an RSS feed for hulu that holds all of the videos??

Answer»

I just scripted up a little vb code and used it to search the whole hulu database via RSS feed

I  then realized the rss feed only holds 25 videos ( http://www.hulu.com/feed/search?query=type%3Amovie&sort_by=relevance )

is there some other RSS Feed for hulu TAHT holds all of the videos?
You won't get a feed to hold all the videos. Most RSS feeds LIST about 10 of the newest ENTRIES and that's it.Yeah I knew that, i just HOPED it was not true

1356.

Solve : gaps in ie7 but not ie8?

Answer»

Hi, I recently created this DNN skin USING artisteer and then modifying where necessary.

www.firstonerealty.com.au

The issue which I am having and can't seem to figure out is the gaps that APPEAR beneath the MODULES in the skin when viewing in ie7. The page appears normal in ie 8 and firefox.

Any suggestions or solutions would be great thanks.

managed to fix the issue by using the media MODULE instead of the html/text module...

thanks.Thanks for the follow-up. Sure users who MAY be having the same issue will appreciate it.

1357.

Solve : perl script help?

Answer»

i am new to perl (i should say, i've never even looked at a perl script before today), but i do have a PROGRAMMING background...

so, we have a script that, among other things, takes a .doc file and changes the extension to .htm...there is an issue, however, with parentheses...so i wanted to added a little snippet that finds the parentheses and removes them...the piece i added apparently does not WORK...

what do you think i should change?
Code: [Select]sub convertWordDoc {
    my $htmDoc, $tempDir, $cmdLine;
    $htmDoc = $File::Find::name;
    $htmDoc =~ s/\.doc$/\.htm/i;

###################################
#
#  Added to SEARCH and remove ( and )
#
###################################

$htmDoc =~ s/[()]//g;

###################################
#
#  End addition
#
###################################
   
    convert2htm($File::Find::name, DELETE_SOURCE_DOC, DELETE_FILES_DIR);
    -e $htmDoc or die "word2htm failed on $File::Find::name";
}
think i may have it...gotta test it though:

$htmDoc =~ s/[\(\)]//g;SORRY there aren't too many Perl whizkids around here..... no prob...new here and the last question i had i got a great response, so i figured i'd try this one too...Perl wizard here. Probably have figured this out by now or moved on but just in case I thought I'd offer my suggestion since I work with Perl every day and love Perl questions!

Your suggested regex should definitely locate and replace any parentheses. Always need to escape (use backslash) for special characters such as these. Otherwise it's going to try to use them as a function such as in this case capturing whatever is in-between the parentheses.

QUOTE

$htmDoc =~ s/[\(\)]//g;

If you have any other Perl / Regex questions always feel free to hit me up.thanks for the reply...yes, i think that regex worked, but for some reason instead of looping through all the documents, it only modified the first and then stopped...if i remove that regex, it loops through all (without any modification of parentheses of course)...Hmm will would need to see your whole program and not just the subroutine to see why that could be happening.k, that will have to wait until Monday as i'm out of the office until then...if you don't mind checking back then i'd appreciate it....
1358.

Solve : CSS overriding for IE... need help.?

Answer»

I'm making a new website.

I have my navigation bar division set with a "inline-block" display property, which doesn't seem to work correctly with IE7 and below.

I can fix this by setting the display property to "inline" but standards compliant browsers hide the background IMAGE, which is not what I want.

So I need to have some sort of override for the display property for IE7 and older.

So I tried this code:

HTML Header
Code: [Select] <LINK href="css/home.css" rel="stylesheet" type="text/css" />
 <!--[if lte IE 7]>
   <link rel="stylesheet" type="text/css" href="href="css/home_ie7.css" />
 <![endif]-->

CSS: home_ie7.css
Code: [Select]charset "utf-8";
/* CSS Document */

#nav {display:inline;}

And it doesn't work.

I've also tried adding !IMPORTANT to the CSS but it still doesn't work.


All help is appreciated.

WyattSoftAnything?I'm not sure about this, but I PRESUME "lte IE 7" means less than IE7?Less than or equal

I got it from here:
http://www.quirksmode.org/css/condcom.htmlHere are some more refs for you:
http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx
http://reference.sitepoint.com/css/conditionalcomments
http://www.webmasterworld.com/css/3673285.htm

1359.

Solve : mail function error?

Answer»

ei guys when i used the mail function in php i got this Warning: mail() [function.mail]: Failed to CONNECT to mailserver at "localhost" PORT 25, VERIFY your "SMTP" and "smtp_port" setting in php.ini

is there any setting should i set in php.ini pls HELP!!!!!!!!!!!!!!!!!!!!!Are you using SMTP or just the built-in PHP function?

1360.

Solve : controlling links, vlinks and alinks?

Answer»

I have set all link attributes the same as my background in the body tag so that they do not show up. 

I also use nested tables and display a row of photos that link to separate pages in them.  I have a BORDERCOLOR of black around each one.   
I want to keep the black border BUT once the photo becomes a link...I lose the border? How can I keep the border black and yet maintain NO visible link attributes?

I tried inserting links/alinks/vlinks attributes inside the TABLE, the TR and the TD tags but that did not work.

You can see what I am working on at
rott-n-chatter.com/dana/dogs  The first dog has been linked and you can see that I lost the black border.

Please excuse any poor html, I am self taught.  I use coffee cup as my initial software for quick previews, but the rest is all hand typed.  I also except any educational criticisms too..

Thanks for any help. 

janWould you mind pasting your full code into www.pastebin.com (choose: 1 month) or www.nopaste.info?
I'm having a hard time understanding what you mean.

Also, your page returns a 404 (page not available).
Quote from: Treval on February 22, 2010, 12:23:38 PM

Also, your page returns a 404 (page not available).

try, http://www.rott-n-chatter.com/dana/dogs.htmlThis looks interesting:

a[title]:hover{
/*Hides the anchor*/

   visibility: hidden;
}


Check it out here (third example, the 'W3C'):
http://phoenity.com/newtedge/element_hover/

Have you worked with CSS before?

Treval
Quote from: Treval on February 22, 2010, 12:54:36 PM
Check it out here (third example, the 'W3C'):
http://phoenity.com/newtedge/element_hover/
CSS3 properties don't work in Most use FireFox, Opera, Safari, ..
You don't even know what browser he's using and you're already assuming it's going to go wrong.
Not to mention almost all computers get automatic updates (ie8)..
So with so many ie8 and FF users, what can go wrong?

Let's take it easy and wait what he says..

Quote from: jan4rotts on February 22, 2010, 07:55:22 AM
How can I keep the border black and yet maintain NO visible link attributes?
Try coding your vlink as black color.  The code is #000000. 

Edit: also, set your link color to black. Quote from: Treval on February 22, 2010, 01:09:05 PM
Who uses IE?..
26%, per http://www.w3schools.com/browsers/browsers_stats.asp.  That was fairly steady in 2009.  Prior to 2009, IE has a much larger share.

Edit: By the way, none of the 3 links at the bottom of your home page work. Quote
Who uses IE?..
IE owns most of the market share at the minute. That doesn't matter anyway. If you knew anything about WEB design, you would know that you should always design your sites to work in all major browsers.

Quote
You don't even know what browser he's using and you're already assuming it's going to go wrong.
See above.

Quote
So with so many ie8 and FF users, what can go wrong?
http://w3counter.com/globalstats.php
http://marketshare.hitslink.com/report.aspx?qprid=0Statistics? Market? What WORLD do you come from?
Those are the two most worthless things in life.
Statistics are the biggest bs ever.

Work in all major browers?
I can choose to not care about IE users or other browser users, it's that simple.Okay. It's not my fault.Anyway, help the OP. I'm not going to bicker about this further.Exactly. Add this to the page head, between and :

Code: [Select]<style type="text/css">
a img {
  border: 2px SOLID #355611;
}
a:link img {
  border: 2px solid #355611;
}
a:VISITED img {
  border: 2px solid #355611;
}
</style>

Or have no border at all:
Code: [Select]<style type="text/css">
a img {
  border: none;
}
a:link img {
  border: none;
}
a:visited img {
  border: none;
}
</style>
1361.

Solve : Where Can I Get Free Domain & The Best Free Web Hosting??

Answer»

As the tittle, please help me..THANKS GuysYou can't.

If you want anything worth while, you pay for it.How about FREE web HOSTING?with LESS AD.. Less than what?

If you want what I think you want, then you have to pay for it.i know any free web host will put advertisement, but does anyone know which one have less advertisement?They don't exist, free comes with ads, if you want ad free then you pay.

What part of that don't you UNDERSTAND?Ok, i get it.So any free web host that you can recommend me?Nope.  We don't do advertising here.Well, it wouldn't completely be advertising.

Just do a forum search for free web hosting and you'll get the (hundreds of) posts with this question.Read This.
It's a very useful CH FAQ.

And yes, telling users about useful sites and SOFTWARE is not advertising. This guy is looking for something without advertising.  He's not going to find it. Quote from: Quantos on July 29, 2009, 04:25:24 AM

This guy is looking for something without advertising.  He's not going to find it.
Yes, you can. You seem to have the attitude lately that you know everything there is to know..... Quote from: kuszmania9999 on July 28, 2009, 08:20:27 PM
Ok, i get it.So any free web host that you can recommend me?

Quantos,
From the quote above;

I think kuszmania9999 got the add part, now he was just asking for recommendations on free web hosting Quote from: kpac on July 29, 2009, 04:28:09 AM
Yes, you can. You seem to have the attitude lately that you know everything there is to know.....

You can find free webhosting without advertising?

I would pay a nickel to see that.  (actually I would pay more)

If you think that's my attitude....http://www.110mb.com/ is a good example.
1362.

Solve : css/html?

Answer»

hi
Ive built a website USING html linked to a css FILE.
It appears stable on IE7 & Firefox when I TEST it from my hard drive
Its a cuple of years since I learned how to write the code and Im a bit rusty.

When I upload to the SERVER using FTP or direct through the webhost - The style is missing and the images.
ive forgotten if there needs to be a declaration on the css file other than:





content........



Im not sure whether I have the declaration on the html files correct either:

   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
   



Sixty Fold - Music







there's no seperate folder on the host for css files.  Ive tried putting it in the cgi bin (?) but to no avail.
Ive tried 2 diff hosts and im getting the same result.
The path appears t be correct for all the files - Im putting the images in the image folder.

Im sure its something very simple that ive forgotten to do.
Your help will be much appreciated
thx

You can PUT the CSS files in the same folder as your HTML files or you can put them in a different folder. If you choose a different folder, then, of course, you need to specify the path to the CSS file in your HTML files.

Did you upload the CSS files, along with your HTML files?

1363.

Solve : CSS help?

Answer»

I am looking to see how to make my own Rowlover Iamges for my web page and NEED some help.
You know the kind that wen the Mouse moves over it the Tab Changes to onother image.

I went here
http://www.designmeme.com/articles/cssrollovers/

And I am not shure if it is what I am looking for.

What I want is to have my image change wen a Mouse goes over it  I  have 2.  diferant  images.

I think this link just will make my iamge  change  color.

Can someon tell me if this is what I need? Quote

What I want is to have my image change wen a Mouse goes over it  I  have 2.  diferant  images.
CSS can't do that. You'll need JS.

See here: http://www.w3schools.com/js/js_animation.aspLmao the guy in that website describes rollover as an alias for :hover. Quote from: kpac on March 01, 2010, 02:22:31 PM
CSS can't do that. You'll need JS.

Yes it can.

Code: [Select]<html>
<head>
<title>My Rollover Page</title>
<style type="text/css">
#rollovernews{background:url("button.png") bottom;display:block;height:32px;width:128px;}
#rollovernews:hover{background-position:top;}
</style>
</head>
<body>
<DIV>
<a id="rollovernews" href="http://www.domain.com"></a>
</div>
</body>
</html>

button.png:



I was too lazy to make a "generic" button, but the idea here is to simply "shift" the image, which contains both the active and inactive image.

This solves two problems- it doesn't require client-side script to be enabled, and it PREVENTS the issue whereby the image is first loaded when the script changes the image of the ELEMENT.
Am I right that this is a lot shorter then JavaScript???

And why is there Nothing inbetween you Hyper Link Tag

The image should be before [/url]  Tage  right?? Quote from: nymph4 on March 02, 2010, 09:42:35 PM
Am I right that this is a lot shorter then JavaScript???

And why is there Nothing inbetween you Hyper Link Tag

The image should be before [/url]  Tage  right??

No. Wrong- the image is shown by the CSS, as the background to the element, which is sized using CSS attributes to be the SIZE of the button.Yes, sorry, I didn't think of background image sprites.Awesome idea, BC. Makes me think of spritesheets in games. =PI found this code

.slider a { background:url(header-icon-strip.png); }
    #nav-services a { background-position:-60px 0px; }
    #nav-services a.on { background-position:-60px -54px; }
    #nav-services a:hover { background-position:0px 54px; }

    #nav-portfolio a { background-position:-210px 0px; }
    #nav-portfolio a.on { background-position:-210px -54px; }
    #nav-portfolio a:hover { background-position:-150px 54px; }

    #nav-testimonials a { background-position:-360px 0px; }
    #nav-testimonials a.on { background-position:-360px -54px; }
    #nav-testimonials a:hover { background-position:-300px 54px; }

    #nav-blog a { background-position:-510px 0px; }
    #nav-blog a.on { background-position:-510px -54px; }
    #nav-blog a:hover { background-position:-450px 54px; }

    #nav-articles a { background-position:-660px 0px; }
    #nav-articles a.on { background-position:-660px -54px; }
    #nav-articles a:hover { background-position:-600px 54px; }

    #nav-payinvoice a { background-position:-810px 0px; }
    #nav-payinvoice a.on { background-position:-810px -54px; }
    #nav-payinvoice a:hover { background-position:-750px 54px; }

    #nav-contact a { background-position:-960px 0px; }
    #nav-contact a.on { background-position:-960px -54px; }
    #nav-contact a:hover { background-position:-900px 54px; }

I only have two images  one for wen the  mouse is  over it    homeon.jpg   and one for wen the mouse is  of it   houseoff.jpg

How do I make this code for what I need??
1364.

Solve : I Need Tips for Making a Website.?

Answer»

Heyy,  ;Dme and some friends are making a website, its going to mostly be for games. I was wondering if you could give us any tips. Anything you think is helpful, please tell. Thank You.
-T =)Gonna ask if this topic can be moved to Forums - Webdesign, which is where it belongs. Quote

its going to mostly be for games
Flash games?

What type of system are you planning on? User generated content, like blogs, forums, comments system etc?
What about search ENGINE optimisation?By games do you mean game news, reviews, etc. like GameSpot and GamersHell?

Here are the 10 golden recipes for webapps, btw (properties your website should have to be a good website):

- speed
- instant utility
- voice
- less is more
- programmable
- personal
- restful
- discoverable
- clean
- playful


Here is a video about these 10 properties (it uses Flash Player 9):
the video

One thing I certainly find useful is an easy search interface with additional options such as:

You have the regular search box, easy and user friendly:
Google Images

Then you have the advanced search box which is for users who like a little more options with their search:
Google Images - Advanced search

Things I've learned when you make websites:

- let your pages be consistent. Layout must be consistent.
  This means your pages must have some sort of uniform look/template for each page.
  A website with completely different page layouts might be ugly and unprofessional-looking.

- Keep the users on your website, don't let them track away as much as possible.
  This means you better not make a link that goes to another website which replaces the current page;
  rather, it's better to make the link open in a new tab. Therefor, the user is not detracted to that other website so easily and can also keep looking at yours.

- Use generic/universal symbols/words. The more universal they are (play, stop, start, back, home) the better and the more chance people have of knowing how to travel your website. There is a problem if they don't know how to navigate your website and some might give up visiting it again.

- Viewable for different user groups/media TYPES.
  This means you can have CSS code that has a page template for users who don't have flash,
  for users who have flash, for users who are on mobile web, for people with text-only-browsers,
  for users with a disability (hearing/seeing)

- Dynamic (people don't like HTML pages, they like a dynamic website that they can play with, input comments, maybe even minimize some panes.. etc.)


You can either make your own website with several technologies or you can use CMSes (Content Management Systems) such as e107.


Treval
Thanks for the tips Treval.

Depends how detailed you want, but I'm just a 15 year OLD student and found Weebly a great place to start a first website. It's mostly drag and drop, but with some basic html, etc, you can still do some advance stuff with it. It does have a few bugs now and then in the creator, nothing major (just refresh the page). Best of all it's free to create and host your site/blog. http://www.weebly.com

The site I created with it, if interested is:

Aaron's Game Zone
Free online flash games: http://azzaboi.weebly.com

Check it out and let me know what you think, any tips or suggestions are warmly welcome. If you decide to use weebly and need any help, let me know. All the best for your gaming site! Quote
rather, it's better to make the link open in a new tab.
That's DEBATABLE....Debatable how? Quote from: Aaron
Check it out and let me know what you think
I think your banner is too much squished together and your 'Home' should have at least the same font as your others.

If you want my opinion I think it's best to grab a book on:

HTML
CSS
JavaScript
DOM (Document Object Model)

Then maybe later (server side programming):

C#
ASP .NET

However, I see you don't want too much detail and are just a beginner and so I recommend
getting a book on HTML, one on CSS and one on JavaScript (or tutorials)..
Why I choose for books is because they explain things more in depth and when you have an error
you will know quicker why it is occuring.

Treval
Quote from: Treval on February 25, 2010, 01:48:03 PM
Debatable how?
http://sam.brown.tc/entry/342/target_blank-do-not-go-there

Although I agree with you, a lot of people don't.Thxs for the feedback Treval 

I am learning HTML, CSS and Javascript at the moment, still a bit new, but learnt a lot with the help of actually creating my first website, Aaron's Game Zone.

Could you point out how the banner is squished and how i could improve it?

As for the 'Home' at the top under the banner - it is blue as it's a link (like the other links), hover goes black with underline. This is a Breadcrumb trail I was trying to create. You can see it update if you go to another page, for example like the games category, Puzzle / Board & Card: http://azzaboi.weebly.com/puzzlegames.html

Does the blue links on all the categories, links and games not look like links or is it just the breadcrumb?

I will get some books from the library, thanks for your advice.To illustrate what I mean by the squished banner, I've edited yours in Photoshop (Free Transform) to how I wanted it to look like and I also added some comments. =)

Screenshot:
here

Quote from: Azzaboi on February 25, 2010, 02:42:12 PM

As for the 'Home' at the top under the banner - it is blue as it's a link (like the other links), hover goes black with underline. This is a Breadcrumb trail I was trying to create. You can see it update if you go to another page, for example like the games category, Puzzle / Board & Card: http://azzaboi.weebly.com/puzzlegames.html

Does the blue links on all the categories, links and games not look like links or is it just the breadcrumb?

I think your breadcrumb is fine; no need to change it.


Quote
Could you point out how the banner is squished and how i could improve it?
I see what Treval is saying, after looking at his modified version of the image.  How did you intend it to look?  Did you squish it to make space for other elements across the top of the page, or is that how you intended it to look?  It is resized, squished a bit for room issues, I'll see what I can do to make it look better. Thx
1365.

Solve : How to autofill multiple Email address?

Answer»

Hi!

Normally in an HTML form to autofill in the email address I WOULD use this:
HREF="mailto:[email PROTECTED]?subject=my website"&GT;Email Me[/url]

But is there a way to have it autosend to more than one email address?  Ie: [email protected] AND [email protected]

Any help much APPRECIATED!http://webdesign.about.com/od/beginningtutorials/a/aa041700b.htm

1366.

Solve : Ineternet explorer is not showing cooliris wall?

Answer»

Hi,

I just updated the version of my cooliris wall in the site of my nephew.
Now when he came home he tried it on internet explorer and it didn't work.
I was so stupied to remove the backup before checking it in internet explorer. It does work fine in firefox.
link
This is the code of the photowall WICH I inserted into the index with a iframe (so I could remove the navigation bar easly)
Code: [Select]<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*.cooliris.com" secure="false" />
<allow-access-from domain="*.piclens.com" secure="false" />
</cross-domain-policy>
<HTML>
<body style="background: url(http://i696.photobucket.com/albums/vv330/willemwauters/achtergrondfotowall.png) #121212 repeat-y">
<object style="position:absolute; left:1px; top:0px; width:803px; height:400px" id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
              align="center">
              <param name="movie"
                  value="http://apps.cooliris.com/embed/cooliris.swf" />
              <param name="flashvars"
                  value="feed=api://www.flickr.com/[email protected]" />
              <param name="allowFullScreen" value="true" />
              <param name="allowScriptAccess" value="always" />
              <embed style="position:absolute; left:0px; top:0px; width:803px; height:400px" type="application/x-shockwave-flash"
                  src="http://apps.cooliris.com/embed/cooliris.swf"
                  align="center"
                  flashvars="feed=api://www.flickr.com/[email protected]"
                  allowFullScreen="true" allowScriptAccess="always">
              </embed>
</object>
</BODY>Any idea why it wouldn't work in internet explorer?

Thanks in advance

Jonas WautersIt seems to work perfectly fine on my IE6 and my wife's IE7.  What version is your nephew using?  You should verify that he has the LATEST version of Adobe Flash installed.  As far as I can tell, this is problem on his end, not with the site itself.It also works on IE8. It didn't yesterday for some reason.Looks like I messed up with the 2 versions,
the ONE I posted was the old one and I made some changes to it, too check it out and overwritten the new file.
That's why its working now, it's the old one and I lost the new file since I overwritten it,...
So I'll try to get a new (updated wall).

Srry for the mess up.

I'll soon post a new code if I still have the same problem with it.

JonasGood. Nice site BTW.Ok created a updated wall and found why IE wasn't showing:
Code: [Select]<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<XHTML>
<body style="background: url(http://i696.photobucket.com/albums/vv330/willemwauters/achtergrondfotowall.png) #121212 repeat-y">
<object style="position:absolute; left:1px; top:0px" id="ci_44738_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="803" height="400">
<param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf"/>
<param name="allowFullScreen" value="true"/>
<param name="allowScriptAccess" value="always"/>
<param name="bgColor" value="#121212" />
<param name="flashvars"
value="feed=api%3A%2F%2Fpicasaweb.google.com%2F%3Fuser%3Dwillwauters%26album%3DWillemWauters&backgroundcolor=%23121212&glowcolor=%23ffffff&showsearch
=false&showembed=false&showchrome=false" />
<param name="wmode" value="opaque" />
<embed align="left" id="ci_44738_e" type="application/x-shockwave-flash"
src="http://apps.cooliris.com/embed/cooliris.swf" width="803" height="400"
allowFullScreen="true" allowScriptAccess="always" bgColor="#121212"
flashvars="feed=api%3A%2F%2Fpicasaweb.google.com%2F%3Fuser%3Dwillwauters%26album%3DWillemWauters&backgroundcolor=%23121212&glowcolor=%23ffffff&showsearch
=false&showembed=false&showchrome=false" wmode="opaque">
</embed>
</object>
</BODY>
</XHTML>

I needed to remove:






While I just needed to add it the first time to make it work in IE. kinda strange but I'm glad it works
It's showing lots of errors on the validator but I cba to fix them I did that for the home page and it took me 2 days,...
If anyone knows wich doctype I should use it WOULD be helpfull cause I can't seem to find the goodone.

Thanks anyway for the response it make me look twice otherwise I would still have got the old wall,...Exactly what website are we talking about here?  Is it http://www.cooliris.com/?I was talking about this site http://www.cooliris.com/yoursite/express/builder/ but everything is fixed now.

Thnks for the help everyone

1367.

Solve : how to link to video?

Answer»

I want to watch  a certain YOUTUBE MUSIC video and later link to it from my html music lyrics folder. Help?Bellow the youtube video, click on Share, click on Embed then a BOX will appear with some HTML code on the right side; copy that code and PASTE it INSIDE your HTML page where you want it to show.

1368.

Solve : The design of the web page with the memebership?

Answer»

I plan to design the web page with the member ship. Only member make the PAYMENT have the function. Non-membership would be only LIMIT access and function .   Whether membership or non-membership can create the personal profile and adjust the profile as well.  It contains the personal profile with security permission, it saves to the DB.

May I know what is the language can fulfilled the requirements.
 Many languages can, my favorite is Perl through an Apache server. But if you have monetary transactions with credit card numbers etc, I'd use an alternate source for electronic commerce processing such as paypal or another CLEARING house as for processing at your end opens up liabilities. The last place I worked at we had to harden our network and Point of Sale system with PCI COMPLIANCE and we went with an outside source for eCommerce to isolate ourselves from potential liabilities.What KIND of a "web page"?  You could use something like Simple Machines Forum, which has all sorts of modules for subscription-based access using PayPal or whatever.

http://www.simplemachines.org/ Quote from: Rob Pomeroy on September 21, 2012, 09:17:58 AM

What kind of a "web page"?  You could use something like Simple Machines Forum, which has all sorts of modules for subscription-based access using PayPal or whatever.

http://www.simplemachines.org/

thank you whoa - time warp.
1369.

Solve : Basic Tools and Languages For Web Development?

Answer»

Hello users
I want to master dynamic website development which tools and languages should i learn or any good YouTube tutorial Hey,

Basically, in the web development you will come across front-end and back-end i.e Full stack web developer. It's upto you what do you want to target whether front-end, back-end, or both.

If we talk about tools to write CODE then according to US(developers) we call them text editor. These tools are easily aavailable on interent. Popular one among them are NOTEPAD++, SUBLIMETEXT, VS CODE(Visual studio code) etc...

Languages that you need to create an front-end of a website are HTML - Markup language for structuring your document on web page.(HTML5 latest version), CSS(CSS3 latest version) - for styling your document and make it colorful and Javascript - for giving breathe to your website(Functionality) helps to create dynamic website. 

With a Javascript if you learn one framework for optimim results. USUALLY Developers learn one or more framework out of these  Angular, React, Vue, Ember and jQuery.

Back-end language  - Node.js, PHP, Python, Ruby, JAVA, Rust etc..

Best of luck for your future in Web development. THANKS a lot
At least I know now the road map. What about word press it this tool good for EDUCATIONAL tutorial websites?The most essential tools from my point of view are:

Sublime Text.
Chrome Developer Tools.
jQuery.
GitHub.
Twitter Bootstrap.
Angular.js.
Sass.
1370.

Solve : HTML help to not show object if blank?

Answer»

I'm new to HTML and I'm struggling to find a way to not display an object if the object is EMPTY. I have the FOLLOWING code:

{{id}} County Distilleries:
 {{#each objects}}
    {{{distillery_name}}}
      {{address}}
    Website[/url]
    My Visit[/url]
Directions[/url]   
{{/each}}

All objects are always filled except the my-visit ONE. If my_visit is blank then the TEXT My Visit STILL appears. I don't want it to appear. Any suggestions would be greatly appreciate.

Roger C

1371.

Solve : Domain Crack?

Answer»

Can SOMEONE Have TWO Or More Namesevers In ONE DOMAIN

1372.

Solve : How to package an html page with html, js, css, etc.?

Answer»

I downloaded a jQuery web page lottery example and modified it slightly.
I want to turn it into an exe executable FILE. How do I do this?
The file directory is as follows.
jquery-app
-----css
|--demo.css
|-----images
|--1.jpg
|--2.jpg
|--......
|-----js
|--awardRotate.js
|--jquery.min.js
|--jquery.min.js
|-----index.html

It is the use of jQuery TECHNOLOGY to achieve a response when the page is clicked. This is a lottery template downloaded from the internet.
How do I package it as a single exe file? I heard someone say secondary PACKAGING?There are program WRAPPERS out there but I doubt you can wrap it all into a SELF contained EXE. Additionally if able to it may flag as a false positive for malware given what your attempting to wrap together.

Other thing is this wont be legal to sell someone elses product under an EXE unless greatly modified from its original source to be non-competing of the original creator of it. So code concepts can be used as long as its bent from its original source into something non-competing with the original source.

1373.

Solve : How can I embed an arcade game WITH high scores??

Answer»

I'm willing to construct and/or pay for this feature on my website. I'm actually SURPRISED it's not readily available EVERYWHERE for a price. Is their a SITE I can go to to GET code to embed a flash GAME on my site that has the ability to record the high scores of MY visitors? What would I need to do?

Here are the games I currently have: http://www.xibasketball.com/2010/07/arcade.html
None of which can keep the scores of JUST my visitors.

1374.

Solve : Javascript Input/Output math formula HELP?

Answer»

I have a workout program where people can post their scores for 4 different drills. The formula totals their score into a rating. I'd like to add a phrase afterwards that tells them how they did, but I have no clue how.<BR>

Here's my code:

Code: [SELECT]<html>
<head>
<title>Easy Workout</title>
<script language="javascript">
function addNumbers()
{
var val1 = parseInt(document.getElementById("value1").value);
var VAL2 = parseInt(document.getElementById("value2").value);
var val3 = parseInt(document.getElementById("value3").value);
var val4 = parseInt(document.getElementById("value4").value);
var ansD = document.getElementById("answer");
ansD.value = Math.round(((100-(25-val1)*5)/4 + (100-6.66667*(23-val2))/4 + (100-7.51*(15-val3))/4 + (100-4*(32-(val4)))/4)*100)/100 ;


}
 


</SCRIPT>
 
 
</head>
<body>
<table width=700><tr><td>XDrill = <INPUT type="text" id="value1" name="value1" value="" SIZE=4 /> </td><td>
2ptrs = <input type="text" id="value2" name="value2" value="" SIZE=4/> </td><td>
3ptrs = <input type="text" id="value3" name="value3" value="" SIZE=4/> </td><td>
Nash = <input type="text" id="value4" name="value4" value="" SIZE=4/></td><td>
<input type="button" name="Submit" value="Click here" onclick="javascript:addNumbers()"/> </td></tr><tr><td colspan=2>
<br><br>Your Score = <input type="text" id="answer" name="answer" value=""/ SIZE=4>
</body>
</html>

And this is what I'd like to add. I just have no clue how.

Code: [Select]function computeform(form) {
 
     
 
       if (answer >90) {
          form.my_comment.value="Amazing Job!!";
       }
 
       else if (answer >80 && answer <=90) {
          form.my_comment.value="You're doing very well.";
       }
 
       else if (answer >65 && answer <=80) {
          form.my_comment.value="Keep up the great work";
       }
 
       else if (answer >50 && answer <=65) {
          form.my_comment.value="You need to push it a little harder";
       }
 
       else if (answer >=35 && answer <=50) {
          form.my_comment.value="You can do better than that!";
       }
 
       else if (answer >=20 && answer <35) {
          form.my_comment.value="Poor performance";
       }
 
       else if (answer >=10 && answer <20) {
          form.my_comment.value="You must try harder than that";
       }
 
       else if (answer <10) {
          form.my_comment.value="You're definitely not giving it all your effort ";
       }
 
       }
       return;
}






Then I'd also like to add a clearform button and an alert if they've entered impossible numbers.

Code: [Select]function checkform(form) {
 
       if (value1==null||value1.length==0 || value2==null||value2.length==0 || value3==null||value3.length==0 || value4==null||value4.length==0){
            alert("\nPlease complete the form first");
            return false;
       }
 
       else if (parseFloat(value1) < 0||
                parseFloat(value1) >=40||
                parseFloat(value2) < 0||
                parseFloat(value2) >=40)
                parseFloat(value3) < 0||
                parseFloat(value3) >=40||
                parseFloat(value4) <= 0||
                parseFloat(value4) >=31){
                alert("\nDo you know what you're doing? \nPlease enter your scores again.");
                ClearForm(form);
                return false;
       }
       return true;
 
}


function ClearForm(form){
 
    form.weight.value = "";
    form.height.value = "";
    form.bmi.value = "";
    form.bmi.value = "";
    form.my_comment.value = "";
 
}
 

</SCRIPT>


Any help would be great. Thank you, in advance.Provided from what you already had, I just threw something together...now I didn't do any debugging or anything, so you may need to experiment a bit...

Code: [Select]<html>
<head>
<title>Easy Workout</title>
<script type="text/javascript" language="javascript">
function addNumbers()
{
var val1 = parseInt(document.getElementById("value1").value);
var val2 = parseInt(document.getElementById("value2").value);
var val3 = parseInt(document.getElementById("value3").value);
var val4 = parseInt(document.getElementById("value4").value);

var ansD = document.getElementById("answer");
ansD.value = Math.round(((100-(25-val1)*5)/4 + (100-6.66667*(23-val2))/4 + (100-7.51*(15-val3))/4 + (100-4*(32-(val4)))/4)*100)/100 ;

if ((val1==null || val1.length==0 || ansD.value=="NaN") && (val2==null || val2.length==0 || ansD.value=="NaN") && (val3==null || val3.length==0 || ansD.value=="NaN") && (val4==null || val4.length==0 || ansD.value=="NaN")){
            alert("\nPlease complete the form first");
            ClearForm();
            return false;
       }

else if ((parseFloat(val1) < 0 || parseFloat(val1) >=40) || (parseFloat(val2) < 0 || parseFloat(val2) >=40) || (parseFloat(val3) < 0 || parseFloat(val3) >=40) || (parseFloat(val4) <=0 || parseFloat(val4) >=31)){
         alert("\nDo you know what you're doing? \nPlease enter your scores again.");
         ClearForm();
         return false;
       }

       if (ansD.value >90) {
          form.my_comment.value="Amazing Job!!";
       }
 
       else if (ansD.value >80 && ansD.value <=90) {
          form.my_comment.value="You're doing very well.";
       }
 
       else if (ansD.value >65 && ansD.value <=80) {
          form.my_comment.value="Keep up the great work";
       }
 
       else if (ansD.value >50 && ansD.value <=65) {
          form.my_comment.value="You need to push it a little harder";
       }
 
       else if (ansD.value >=35 && ansD.value <=50) {
          form.my_comment.value="You can do better than that!";
       }
 
       else if (ansD.value >=20 && ansD.value <35) {
          form.my_comment.value="Poor performance";
       }
 
       else if (ansD.value >=10 && ansD.value <20) {
          form.my_comment.value="You must try harder than that";
       }
 
       else if (ansD.value <10) {
          form.my_comment.value="You're definitely not giving it all your effort ";
       }
 
       return;

}

function ClearForm(){
 
    document.form.value1.value = "";
    document.form.value2.value = "";
    document.form.value3.value = "";
    document.form.value4.value = "";
    document.form.answer.value = "";
    document.form.my_comment.value = "";
 
}
 
</SCRIPT>
 
 
</head>
<body>
<table width=700><form name="form"><tr><td>XDrill = <input type="text" id="value1" name="value1" value="" SIZE=4 /> </td><td>
2ptrs = <input type="text" id="value2" name="value2" value="" SIZE=4/> </td><td>
3ptrs = <input type="text" id="value3" name="value3" value="" SIZE=4/> </td><td>
Nash = <input type="text" id="value4" name="value4" value="" SIZE=4/></td><td>
<input type="button" name="Submit" value="Click here" onclick="javascript:addNumbers()"/> <input type="Reset" value="Clear"> </td></tr><tr><td colspan=2>
<br><br>Your Score = <input type="text" id="answer" name="answer" value=""/ SIZE=4 READONLY>
<br><br><br><input type="text" id="my_comment" name="my_comment" value=""/ SIZE=50 READONLY>
</form>
</body>
</html>Did this work for you?My finished product...


Code: [Select]<br>
<center><img src="http://i40.photobucket.com/albums/e250/jonsan32/easy.png"></center>
<br><script type = "text/javascript">
function addNumbers()
{
var val1 = parseInt(document.getElementById("value1").value);
var val2 = parseInt(document.getElementById("value2").value);
var val3 = parseInt(document.getElementById("value3").value);
var val4 = parseInt(document.getElementById("value4").value);
var ansD = document.getElementById("answer");
ansD.value = Math.round(((100-(25-val1)*5)/4 + (100-6.66667*(23-val2))/4 + (100-7.51*(15-val3))/4 + (100-4*(32-(val4)))/4)*100)/100 ;


}

function addNumbers()
{
var val1 = parseInt(document.getElementById("value1").value);
var val2 = parseInt(document.getElementById("value2").value);
var val3 = parseInt(document.getElementById("value3").value);
var val4 = parseInt(document.getElementById("value4").value);
var ansD = document.getElementById("answer");

var formula = Math.round(((100-(25-val1)*5)/4 + (100-6.66667*(23-val2))/4 + (100-7.51*(15-val3))/4 + (100-4*(32-(val4)))/4)*100)/100 ;

var phrase=new Array(" Yeah Right!"," A Legendary Performance"," You're an All-Star!"," Now that's college material!"," Very Good job."," Great Effort"," You're almost there!"," Nice try."," Average. Try harder."," Don't give up"," You've got a ways to go"," That's a poor performance");
if(formula>100){ ansD.value="You've somehow scored a " + formula +"." + phrase[0]}
if(formula<=100 && formula>=90){ ansD.value="You've scored a " + formula +"." + phrase[1]}
if(formula<90 && formula>=80){ ansD.value="You've scored a " + formula +"." + phrase[2]}
if(formula<80 && formula>=70){ ansD.value="You've scored a " + formula +"." + phrase[3]}
if(formula<70 && formula>=60){ ansD.value="You've scored a " + formula +"." + phrase[4]}
if(formula<60 && formula>=50){ ansD.value="You've scored a " + formula +"." + phrase[5]}
if(formula<50 && formula>=40){ ansD.value="You've scored a " + formula +"." + phrase[6]}
if(formula<40 && formula>=30){ ansD.value="You've scored a " + formula +"." + phrase[7]}
if(formula<30 && formula>=20){ ansD.value="You've scored a " + formula +"." + phrase[8]}
if(formula<20 && formula>=10){ ansD.value="You've scored a " + formula +"." + phrase[9]}
if(formula<10 && formula>=0){ ansD.value="You've scored a " + formula +"." + phrase[10]}
if(formula<0){ ansD.value="You've scored a " + formula +"." + phrase[11]}

}
 


</SCRIPT>
 
 
 <center>
<table width=700><tr><td>XDrill = <input type="text" id="value1" name="value1" value="" SIZE=2 /> <br><br></td><td>
2ptrs = <input type="text" id="value2" name="value2" value="" SIZE=2/><br><br> </td><td>
3ptrs = <input type="text" id="value3" name="value3" value="" SIZE=2/><br><br> </td><td>
Nash = <input type="text" id="value4" name="value4" value="" SIZE=2/><br><br></td><td>
<input type="button" name="Submit" value="Click here" onclick="javascript:addNumbers()"/><br><br> </td></tr><tr><td colspan=5 bgcolor="#000000"><center>
<input type="text" id="answer" name="answer" value=""/ SIZE=75> </center></td></tr></table>
<br><br></center>



<table width="700" border="1" cellpadding=6><tbody>

<tr><td bgcolor="#eeeeee">
<div align="justify"><font size=4 face="garamond"><b>Got 15 minutes?</b></font><font size=2 face="garamond"> Do the following 4 drills, then enter your scores above. Switch up the order any way you desire to maximize your results. Do AT LEAST this much every day if you want to be good. 3 MINUTES per drill, with a ONE MINUTE rest in between each. If you can't spare 15 minutes per day, you just don't want it bad enough!</font></div>
</td></tr>

<tr><td onmouseover="this.bgColor='#fff000'" onmouseout="this.bgColor='white'" bgcolor="white"><table width="100%" cellpadding=5><tbody><tr><td width="50"><img src="http://i40.photobucket.com/albums/e250/jonsan32/letter-x-red.jpg" width="50" height="50" /></td><td width="100"><b><font color="#000000">X Drill</b></td><td><small><font color="#000000"><p align="justify">Sprint-dribbling jumpshots from each of the 4 elbows, running full court in an X pattern (3 minutes). Run straight, then cross, run straight, then cross, repeat...</small></td></tr></tbody></table></td></tr></font></font>


<tr><td onmouseover="this.bgColor='#fff000'" onmouseout="this.bgColor='white'" bgcolor="white"><table width="100%"  cellpadding=5><tbody><tr><td width="50"><img src="http://i40.photobucket.com/albums/e250/jonsan32/images-2.jpg" width="50" height="50" /></td><td width="100"><b><font color="#000000">2-Pointers</b></td><td><small><font color="#000000"><p align="justify">How many mid-range jumpshots off the dribble you can make in 3 minutes.</small></td></tr></tbody></table></td></tr></font></font>


<tr><td onmouseover="this.bgColor='#fff000'" onmouseout="this.bgColor='white'" bgcolor="white"><table width="100%" cellpadding=5><tbody><tr><td width="50"><img src="http://i40.photobucket.com/albums/e250/jonsan32/threepointline.jpg" width="50" height="50" /></td><td width="100"><b><font color="#000000">3-Pointers</b></td><td><small><font color="#000000"><p align="justify">How many 3-pointers you can make in 3 minutes.</small></td></tr></tbody></table></td></tr></font></font>




<tr><td onmouseover="this.bgColor='#fff000'" onmouseout="this.bgColor='white'" bgcolor="white"><table width="100%"  cellpadding=5><tr><td width="50"><img src="http://i40.photobucket.com/albums/e250/jonsan32/nash.jpg" width="50" height="50" /></td><td width="100"><b><font color="#000000">Nash Drill</b></td><td><small><font color="#000000"><p align="justify">Sprinting, down 'n back is 2. See how many you can do in 3 minutes, Steve Nash can do 30!</small></td></tr></tbody></table></font></font></td></tr></table>


Thanks

1375.

Solve : html to CMS? Is this possible??

Answer»

I have a tableless html site that is taking FOREVER to update each page.
It would be easier if CMS could be used to add and update the site.
I don't WANT to change the layout of the site just have the ability to upload and change content.
Is this possible? What would be the best way of doing this?

Thanks
Sorry to seem sarcastic, but if you spent your energy researching instead of joining forums and posting, then you MIGHT of found the answer by now.

Google SearchYou've gotten more than ENOUGH answers to that question.

1376.

Solve : Setting up a webserver for php-based content on localhost?

Answer»

Hello.

Before getting to the issue, i would like point out that this is for testing purposes only.



I have successfully installed Apache & XAMPP (MySQL included), but I have no idea what to do now.

This is my situation:

I can not access the phpMyAdmin MODULE correctly, as there is no "index.htm" or equivalent (Or i haven't found it) that relates to it.

http://192.168.1.4:8080/   brings me to a blank page that says "It works!"
http://192.168.1.4:8080/phpMyAdmin/   shows me a directory list with the title "Index of /phpMyAdmin"
http://192.168.1.4:8080/restricted/   brings me to a blank page that says "Remote auth testpage"
http://192.168.1.4:8080/forbidden/   shows me a directory list with the title "Index of /forbidden" and it only lists the readme.auth_remote.txt file
http://192.168.1.4:8080/*/   Would show me the directory LISTING for that folder

* = any other folder/file that exists


Later on, i would like to use this setup to try different php scripts and/or php forum engines


So, what is the next step ?Browse to http://127.0.0.1/ or http://localhost/.

Place any web PAGES you've created in the htdocs folder in the main xampp folder. You can browse to these by going to http://localhost// etc.Thanks for the reply, but i think you missed something:

Quote

I can not access the phpMyAdmin module correctly, as there is no "index.htm" or equivalent (Or i haven't found it) that relates to it.
Go to http://localhost/phpmyadmin/ ?So you already have looked at a tutorial on Apache for Windows as a virtual local host server?
If not, did you read this? Does the describe what you have done? The file index.php has to be KNOWN to Apache as the index file for the public directory.
http://johnbokma.com/windows/apache-virtual-hosts-xp.html
Pardon me if you already know all that.Looking around, it seems others are using the Windows service instead of Apache.
There are many like this one:
http://www.ehow.com/how_2069183_install-localhost-server-windows.html
But some do it with Apache and server 2000.
http://www.daniweb.com/forums/thread40167.html

This one looks interesting:
Quote
PHP SetCookie with Localhost and Apache
by FrosT
Introduction
As some developers may not know working with a localhost Apache and PHP server requires different setups than working with an actual domain name on a remote server. This article will discuss how to setup your script correctly to store localhost COOKIES with FireFox and Internet Explorer without too much   ...
http://www.aeonity.com/frost/php-setcookie-localhost-apache
I didn't understand what to do even after reading through those pages 4 times


And kpac: i can't use http://localhost/ because "CometBird can't establish a connection to the server at localhost."


Also, i forgot to mention that the are 2 htdocs folder, one in Apache's application folder and one in the XAMPP folder
When accessing http://192.168.1.4/ i access the Apache htdocs folderHave you got other server packages installed? If you have, uninstall everything and start again with XAMPP.Well, i have reinstalled XAMPP now and i can access phpMyAdmin fine from localhost/phpMyAdmin so i guess this means it's solved.


Thanks for taking your time to help
1377.

Solve : image help?

Answer»

If I place an image on my web page and use the  height="20"
am I right that just useing this TAG will size it by pixals?

And if I do this
height="20%"   it will make it  20 Percant heigh  of the whole page?Yes.Well I am going to put a Logo I made at the top of my page.
And it will have my Phone NUMBER my name and so on.
And the image and everything a Logo will have.

I was going to use the  height="20"   tag  to just ajust the height in Pixals  and let the browser ajust the width and I did this for years and it worked.

But as Monitors became more and more of  High Resalotion  and web browsers can do what they want and have people set them as they want I am thinking of useing the   height="20%"  tag.

Because if I set the image  as  height="30"   and go to another monitor it looks very very big or very very small.

So I thought if I start useing  height="20%"    with the percant tag as so    20 percent will be  20 percent on what ever monitor or web browser.

And it will always look good on any SCREEN because  one %  on this monitor will be one% on another monitor.

But if I use  height="20"  there pixals will be biger or smaller and will efect the way things look.

Am I right? Quote

But if I use  height="20"  there pixals will be biger or smaller and will efect the way things look.
Not really, because higher resolution screens are usually larger to begin with.I am sorry some times I THINK I get of topic a little.

My Logo is 2. inch Heigh  and when I checked the pixel it says  149 pixal Heigh.

So if I use the take    height="149"
I know the browser will display it  149 pixal heigh.

But as you go to diferant monitors with diferant resalotions will  149 pixels  be to   small or to big?

This is how I SOULD have ask this topic. How do I know a good size to make my Logo display at?
What would be a good thing to remember?I think I'd stick with a fixed size.  Don't worry so much about how it will look at different resolutions and different size monitors.  If a site visitor is using a large monitor and/or high resolution, that will affect all aspects of what they see on their screen, not just the image on your web page.  So, it's up to the individual user to control their viewing environment.
1378.

Solve : Javascript/DHTML background fade effect??

Answer»

I've seen this SOMEWHERE, and I totally forgot where. You CLICK on something, and it launches a small window to the foreground (to a new layer) - the rest of the page fades into the background and cannot be selected/clicked until the foreground window is closed.. if someone can send me an example of this, effect or a site that uses this effect, I'd be much obliged!
check on dynamicdrive.com. I think they have one.It's a few lines of page CODE with jQuery. and a plugin.Lightbox is the original one, I think. There's also Shadowbox JS, HIGHSLIDE JS, Shutter and Thickbox.

1379.

Solve : Dreamweaver, inserting images in a table??

Answer»

When I insert multipule images in a cell of a table, EVERY time a NEW image is INSERTED they go under each other, how can I MAKE it so they go along (from left to right) of the cell?
Thanks, but I don't want to add a table in a cell, is there a bit of code without the use of a table in a cell
images (even in table cell) by default goes to be along not under each other, check the cell WIDTH

1380.

Solve : web hosting with xammp 1.7.3. help??

Answer»

Okay, so I've READ about 15 tutorials on how to make a SERVER using apache and xammp. I have some previous experience with xammp on trackmania servers (MySQL, THOUGH), used some of that too. So, I secured my folder, all the basic stuff, put the WEBSITE files to htdocs folder, opened http://localhost/index.html and all works. The problem is that no one else can access it (asked a few friends to try to open it, but they say they can't). I have a Thomson router (not sure which model exactly) and I forwarded the port 80. STILL, when using PFPortChecker, the port 80 is blocked... any help?In your reading of tutorials, did you learn about how a self-hosted website could work as far as domain name registration is concerned?  All websites, i.e. domain names, have to be registered with a domain name registrar.  I'm assuming you want your website to be accessible on the Internet by anyone.

1381.

Solve : redirecting my page issue?

Answer»

I build this  a Page,, and have  a simple php form  that is  submited to my e mail...and  the  the user will be redirected to my home page.....I am using the Meta tag



 


i need to redirect after  submit....but now  my form page is refreshing  in 5 seconds,, would someone please  give me  an Advice?
the whole  code is as follow:.......

// OPTIONS - PLEASE CONFIGURE THESE BEFORE USE!

$yourEmail = "[email protected]"; // the email address you wish to receive these mails through
$yourWebsite = "http://www.jabonesvioleta.com"; // the name of your WEBSITE
 
$maxPoints = 4; // max points a person can hit before it refuses to submit - recommend 4


// DO NOT EDIT BELOW HERE

$error_msg = null;
$result = null;

function isBot() {
   $bots = array("Indy", "Blaiz", "Java", "libwww-perl", "Python", "OutfoxBot", "User-Agent", "PycURL", "AlphaServer", "T8Abot", "Syntryx", "WinHttp", "WebBandit", "nicebot");
   
   $isBot = false;
   foreach ($bots as $bot)
   if (strpos($_SERVER['HTTP_USER_AGENT'], $bot) !== false)
      $isBot = true;

   if (empty($_SERVER['HTTP_USER_AGENT']) || $_SERVER['HTTP_USER_AGENT'] == " ")
      $isBot = true;
   
   exit("Bots not allowed.");
}

if ($_SERVER['REQUEST_METHOD'] == "POST") {
   function clean($data) {
      $data = trim(stripslashes(strip_tags($data)));
      return $data;
   }
   
   // lets check a few things - not enough to trigger an error on their own, but worth assigning a spam score..
   // score quickly adds up therefore allowing genuine users with 'accidental' score through but cutting out real spam
   $points = (int)0;
   
   $badwords = array("adult", "beastial", "bestial", "*censored*", "*censored*", "*censored*", "cunilingus", "cunillingus", "cunnilingus", "*censored*", "ejaculate", "*censored*", "felatio", "fellatio", "*censored*", "fuk", "fuks", "*censored*", "gangbanged", "gangbangs", "hotsex", "hardcode", "jism", "jiz", "orgasim", "orgasims", "*censored*", "orgasms", "phonesex", "phuk", "phuq", "porn", "pussies", "*censored*", "spunk", "xxx", "*censored*", "phentermine", "tramadol", "adipex", "advai", "alprazolam", "ambien", "ambian", "amoxicillin", "antivert", "blackjack", "backgammon", "texas", "holdem", "poker", "carisoprodol", "ciara", "ciprofloxacin", "debt", "dating", "porn", "link=", "voyeur");
   $exploits = array("content-type", "bcc:", "cc:", "document.cookie", "onclick", "onload", "javascript");

   foreach ($badwords as $word)
      if (strpos($_POST['comments'], $word) !== false)
         $points += 2;
   
   foreach ($exploits as $exploit)
      if (strpos($_POST['comments'], $exploit) !== false)
         $points += 2;
   
   if (strpos($_POST['comments'], "http://") !== false || strpos($_POST['comments'], "www.") !== false)
      $points += 2;
   if (isset($_POST['nojs']))
      $points += 1;
   if (preg_match("/(<.*>)/i", $_POST['comments']))
      $points += 2;
   if (strlen($_POST['name']) < 3)
      $points += 1;
   if (strlen($_POST['comments']) < 15 || strlen($_POST['comments'] > 1500))
      $points += 2;
   // end score assignments

   foreach ($_POST as $key => $value)
      $_POST[$key] = trim($value);
   
   if (empty($_POST['name']) || empty($_POST['email']) || empty($_POST['comments'])) {
      $error_msg .= "Name, e-mail and comments are required fields. \n";
   } elseif (strlen($_POST['name']) > 15) {
      $error_msg .= "The name field is limited at 15 characters. Your first name or nickname will do! \n";
   } elseif (!preg_match("/^[a-zA-Z-'\s]*$/", stripslashes($_POST['name']))) {
      $error_msg .= "The name field must not contain special characters. \n";
   } elseif (!preg_match('/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\([a-z0-9])(([a-z0-9-])*([a-z0-9]))+' . '(\.([a-z0-9])([-a-z0-9_-])?([a-z0-9])+)+$/i', strtolower($_POST['email']))) {
      $error_msg .= "That is not a valid e-mail address. \n";
   } elseif (!empty($_POST['url']) &AMP;& !preg_match('/^(http|https):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(\d+))?\/?/i', $_POST['url']))
      $error_msg .= "Invalid website url.";
   
   if ($error_msg == NULL && $points <= $maxPoints) {
      $subject = "AUTOMATIC Form Email";

      $message = "You received this e-mail message through your website: \n\n";
      foreach ($_POST as $key => $val) {
         $message .= ucwords($key) . ": " . clean($val) . "\r\n";
      }
      $message .= 'IP: '.$_SERVER['REMOTE_ADDR']."\r\n";
      $message .= 'Browser: '.$_SERVER['HTTP_USER_AGENT']."\r\n";
      $message .= 'Points: '.$points;

      if (strstr($_SERVER['SERVER_SOFTWARE'], "Win")) {
         $headers   = "From: $yourEmail \r\n";
         $headers  .= "Reply-To: {$_POST['email']}";
      } else {
         $headers   = "From: $yourWebsite <$yourEmail> \r\n";
         $headers  .= "Reply-To: {$_POST['email']}";
      }

      if (mail($yourEmail,$subject,$message,$headers)) {
         if (!empty($thanksPage)) {
            header("Location: $thanksPage");
            exit;
         } else {
            $result = 'Your mail was successfully sent.';
         }
      } else {
         $error_msg = 'Your mail could not be sent this time.';
      }
   } else {
      if (empty($error_msg))
         $error_msg = 'Your mail looks too much like spam, and could not be sent this time. ['.$points.']';
   }
}
function get_data($var) {
   if (isset($_POST[$var]))
      echo htmlspecialchars($_POST[$var]);
}
?>

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

   
     
My Email Form
   
   
      p.error, p.success {
         font-weight: bold;
         padding: 10px;
         border: 1px solid;
      }
      p.error {
         background: #ffc0c0;
         color: #f00;
      }
      p.success {
         background: #b3ff69;
         color: #4fa000;
      }
.contact{
  width:370px;
  margin:0 auto;
  padding:15px;
  font-family:tahoma;
  font-size: 16px;
}

.contact h3{
  padding:5px 0;
  margin:0;
  font-family: "Times New Roman", Times, serif;
  color: #000060;
  font-weight: normal;
  font-size: 2em;
  letter-spacing:.05em;
  text-align:center
}

.contact h5{
  padding:0 0 10px 0;
  margin:0;
  font-family: "Times New Roman", Times, serif;
  color: #606060;
  font-weight: normal;
  font-size: .8em;
  text-transform: uppercase;
  letter-spacing:.05em;
  text-align: center;
}

.contact form{
  background: #7dc82c;
  padding: 20px 10px 10px 10px;
  margin: 0;
}

.contact h4{
  padding:5px 10px 0 10px;
  margin:-10px 0 0 10px;
  background: #d1efb3;
  color: #000;
  font-weight: normal;
  font-size: .9em;
  float: left;
  border-style: solid;
  border-color: #F2F8FC;
  border-width: 1px 1px 0 1px;
  border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;
}

.contact-field{
  clear: both;
  background: #d1efb3;
  border:none;
  margin:0;
  padding:10px 10px 20px 10px;
}

.contact label{
  width: 100px;
  display: block;
  float: left;
  color: #3C3C3C;
  font-size: .85em;
}

.contact p{
  padding:0;
  margin:5px 0;
}

.contact h6{
  background: #C8E0F4;
  padding: 15px;
  margin: 5px;
  color: #3C3C3C;
  font-weight: normal;
  font-size: .9em;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.contact span{
  font-weight: bold;
  color: #000;
  font-size: .95em;
}      
   .contact form h4 {
   color: #804000;
}
    .contact form .contact-field p label {
   color: #804000;
}
    .contact form p #submit {
   color: #804000;
}
    .contact form p #reset {
   color: #804000;
}
    .contact form .contact-field p #howcanwelhelpyou {
   color: #804000;
}
    .contact h3 {
   color: #804000;
}
    .contact h5 {
   color: #804000;
}
    body {
   background-repeat: repeat;
   background-image: url(contact.jpg);
}
   

1382.

Solve : Building a Classifieds Site - which platform??

Answer»

Hello,

I just bought a domain name which I'd like to develop into a site for classifieds. Considering I'm TOTALLY new to web developing, I'm very confused at this stage. Sincerely I don't know from where to start and on which TRAIN I should board to make my journey successful!

From some basic research from the web, a lot is being referred to CONTENT Management System which is SOMETHING also completely new to me. I'm READY to dedicate time to do the necessary research and to my project but, I'd like someone to put me on the right track at this stage, at least.

I don't want to spend all my time and efforts on a platform which is the best "all-rounder" and then I found out that it's not suitable for me. I want a platform which is the good for what I need - that is, to develop a classifieds site.

I'm reading a lot about Joomla, Drupal, wordpress, mambo, xoops and lots more.

Can you please put me on the right track?

Just to let you know I bought web-hosting from iPage.

Any kind of help will be greatly appreciated.

Thanks a lot in advance.

Regards,

CorollaThere are many templates available online.You can search on Google and you may find better idea for that.

1383.

Solve : ip address information please?

Answer»

while i'm on my web site there is always someone on from glasgow and i think/thought they were coping all my material but now i dont know


i know this is GOING to look and sound really stupid , but

i have just put a NEW post into my blog and i had to go to the dashboard , main front page , misc page , 6 or 7 times fixing codes etc to get it right.
 
then i went to see who was on the site and i was tracked by the person from glasgow on every move i made , so it must be me ?

would my ip ADDRESS be logged in Scotland being the nearest main land to N.Ireland

hope you understand

it sounds daft
i have just noticed in my forum over this past 2 months that i'm logged in with 7 different ip addressesGreetings, harry 48.

Quote

i have just noticed in my forum over this past 2 months that i'm logged in with 7 different ip addresses

Could be that you are being assigned a dynamic IP by your ISP every time you log on.ok thank you for your replyi'm bumping this topic in the hope that i can get an answer. Quote from: harry 48 on March 21, 2011, 02:09:48 PM
i'm bumping this topic in the hope that i can get an answer.

Caliban gave you an answer on Feb 24 that looks spot on to me. I will add that not all UK ISPs are able to issue Northern Ireland-specific dynamic addresses. RTÉ for example are aware of this in connection with streaming Gaelic Athletic Association (GAA) sports events. Their copyright AGREEMENT means they can only make them available to users in the Island Of Ireland but since some UK ISPs can't allocate NI-only IP addresses, their customers may get blocked. So you could be getting IP addresses from your ISP's pool which are (inaccurately) being geo-located to places in Scotland, because your ISP is allocating addresses from a regional block listed for Glasgow., probably because that is where their connection to NI joins their "backbone". You may not know that the process of getting a geographical location from an IP address is not guaranteed to be accurate anyway. So-called geolocation systems attempt to map IP addresses to geographic locations using large computer databases loaded with region allocation data. Sounds like your website is linking to such a database to give a location e.g. "Glasgow". Like I say they are not guaranteed to be accurate. I know people in SW England who get geolocated to South Wales for the same reason. You can TRY a geo website like http://www.ip2location.com/ to see where it thinks you are.

Is that better?





thanks salmon you explained it a lot better , as i said i worked it out that i was being logged into my own site by the traffic feeds , to-night its Edinburgh  to-morrow maybe SwindonI was editing that post when you replied... did you see this?

You can try a geo website like http://www.ip2location.com/ to see where it thinks you are.

Also I wrote RTVE when I really meant RTE



i'm from London now  i thought you meant RTE
1384.

Solve : .msstyles files?

Answer» QUOTE from: MAXUM on March 25, 2011, 07:50:33 AM
How do I thank BC_Programmer?

LOOK in the BOTTOM RIGHT part of his posts

1385.

Solve : HTML CSS Div=align HELP?

Answer»
Hello

I`ve started developing a website on opera, I`m using HTML & CSS I can`t get div=align to WORK and Depending on the browser the position of the flash OBJECT on the page is shifted, my EXAMPLE:

http://nswsolartech.com/~a01/ie.jpg  - How it looks on Internet explorer
http://nswsolartech.com/~a01/opera.jpg - How it looks on Opera browser

here is the website in question: www.nswsolartech.com, Netfirms is the hosting provider

Thanks in AdvanceSee here: http://www.webdesigntuts.net/css-tutorials/how-to-center-a-website-with-css.html
1386.

Solve : white border around image in cell?

Answer»

Hi,
I'm trying to remove a border that shows up around an image that I have in a table cell.
I have tried border:none in css properties; set all borders to 0 that I can find (I'm using MS Visual WEB).
You can see what I'm TALKING about at www.pawsrunningclub.com/SAA/SAAhome.htm.
I'd like to remove the white around the skyline picture.
Also, if possible, I'd like to have the top table move up so there is no BLUE background between it and the top white....can't figure out how to do it.
TIA!What about padding in your table TAGS?  Have you REVIEWED that?

1387.

Solve : How do I do this??

Answer»

Right now my nav menu is on the right and my MAIN text is below it. How do I make it so they are next to each other?

This is what it looks like: http://i55.tinypic.com/icsjut.png
Surely you mean left hand side?Look into the css float and margin properties.That's about the BEST advice that can be given without seeing any code.  ALSO, thanks for reminding me that I've got an InboxDollars CHECK on the way.

1388.

Solve : html Code Issue?

Answer»

Can anyone PLEASE tell me why the lowercase letter “o” in the WORD “for” keeps SHOWING up as a capital “O” or a zero in my html code? The word “for” is used four TIMES within my code and keeps appearing as “fOr” or possibly “f0r.” Any ideas? Thank you.Can you post the code here?  Are you using an HTML editor or what?

1389.

Solve : web browser on web page?

Answer»

Forgive me if this sounds silly as im quite new to this but how would you put a web browser on a web page on my own website where all links can open in that same browser. The page i am making REQUIRES its own browser to brows the web. Also every page to be open must open in that browser .Your help would be much appreciated
http://www.google.co.uk/#hl=en&xhr=t&q=how+to+make+a+browser&cp=19&pf=p&sclient=psy&safe=off&aq=0&aqi=&aql=&oq=how+to+make+a+brows&pbx=1&fp=96e11322d6deed39 Quote from: hallatie on April 08, 2011, 02:12:32 AM

... how would you put a web browser on a web page on my own website where all links can open in that same browser. The page i am making requires its own browser to brows the web. Also every page to be open must open in that browser ...
I believe some clarification in wording is needed here.  I think you really mean you want web pages opened from links on your home page to always open in a SEPARATE browser window, not in their "own browser".  The actual web browser (Internet Explorer, Firefox, Chrome, ETC.) would be WHATEVER the website visitor is using.  Am I right? Quote from: soybean on April 08, 2011, 08:38:05 AM
I believe some clarification in wording is needed here.  I think you really mean you want web pages opened from links on your home page to always open in a separate browser window, not in their "own browser".  The actual web browser (Internet Explorer, Firefox, Chrome, etc.) would be whatever the website visitor is using.  Am I right?

You are right, some conformation on this would not go amiss
1390.

Solve : regExp correct method?

Answer»

Hello guys

I NEED to make a regExp on a field for percent marks and wrote this one

Code: [Select]<script type="text/javascript">
var marksPattern = /(\d{2}.\d{2}%)/;
</script>

I am using test() method to check user entry, but the problem is that the test() return true event if there was another thing with marks

examples:

1. marksPattern.test('80.67%'); true   

2. marksPattern.test('bla bla 80.67%'); true 

in the second CASE I want it to return false, what is the correct method? This may help:

Code: [Select]^(\d{2})\.(\d{2})%

My JavaScript is a bit rusty, so I'm not sure what those FORWARD slashes in your test pattern represent.

Good luck.

Special thanks to RegExBuilder  Thanks a lot Sidewinder

those forward slashes another way to define a NEW regExp in JS

var rExp = /pattern/flags;

or

var rExp = new RegExp("pattern"[, "flags"]) ;

1391.

Solve : IE9 vs FF4 CSS interpretations?

Answer»

My goodness!  I had a pretty sweet and simple framework for my website and was excite to fill it with content (which is odd, because I HATE filling in framework with content - it's tedious.  But, I digress).

Orginially developed using IE9, I wanted to make sure FF displayed things correctly.  Well, it looked like a tsunami hit my elements.  Elements scattered everywhere with unexplicable property styles (compared to my expectations).

My HTML is solid!  It's the CSS that's being differently interpreted.  Now, this is nothing new.  EVERYONE is aware that there are interpretation discrepencies between BROWSERS, but I didn't think it would be as dramatic as I saw.  Again, I digress.

I'm CLEANING up the CSS so each browser will interpreted it similarly.  The biggest PROBLEM I have is that FF seems not to apply child element properties with the parent elements.

Check out the differences between IE and FF.
http://phoxnet.cilverphox.com 
http://phoxnet.cilverphox.com/css/phoxnet.css

What do I need to change to ensure child properties effect parent properties.

-Geates 
In the voice of the DOS Equis Most Interesting Man in the World: "I don't always test my code.  But when I do, I do it in production"

______________________

No spam, thanks.
    -- kpac

1392.

Solve : Where is the best source of Graphic Designing Software Download??

Answer»

Hi Friends,

This is Steve ray from LONDON, i want to download some graphic designing SOFTWARE for my work, but don't KNOW where can i download these software.
can any friend SUGGEST me some sites where i can get graphic designing software and download.
waiting for your valuable suggestion.

thanks & Regards

Steve Ray
HTTP://download.cnet.com/windows/graphic-design-software/?tag=rb_content;main

1393.

Solve : Move Image?

Answer»

I have a SITE that has a button I made that says “apply”, and it LINKS to a company site for the purpose
of taking an electronic application. Everything works fine with the button and the linking aspect. The problem
I have is the placement of the button on the page. It is located to the far left said of the page, and
(for a visual effect) I want it placed over to about where the “new topic” button is located inside of this
 POST /forum - located toward the right side of the page. I have tried all kinds of html code to get it to move,
but to no avail. I built the site myself using a platform of  - inc.php  - php  - css. I’m lost on how to get this
button to move over on the page.
OPEN for suggestions.
Thanks.
Cole
Can we see the code you have and a screenshot of your page, please.Sorry, I'm new to this. Here is the code.



[/url]



Thank you.
ColeOops. I did not see that you asked for a screen shot.
I blanked out the company name because I do not need more traffic that is not the intended target.

Thanks.
Cole

[recovering disk space - old attachment deleted by ADMIN]you can use div attribute into your page.And create css file and add into your project.After that you can define style for div attribute.you can select position of your image where you can put horizontal or verticle.

1394.

Solve : How can I use two different javascript-enabled widgets on the same site??

Answer» Trying to install a slideshow and a quote ROTATOR, and can only GET one to work at a time. I assume the scripts are conflicting, but is there a way around this? Can I just rename one of the [COLOR="Red"]$(document).ready(function()[/COLOR] to like [COLOR="Green"]$(document).ready(function(2)[/COLOR] or something?

This forum tries to explain it to no avail: http://www.codingforums.com/archive/index.php/t-189499.html

And this page seems to hold the answer, but I don't understand it: http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Any help would be great.



Here's the code for my slideshow:

Code: [Select]<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'>
//<![CDATA[

/* ------------------------------------------------------------------------
s3Slider

Developped By: Boban Karišik -> http://www.serie3.info/
CSS Help: Mészáros Róbert -> http://www.perspectived.com/
Version: 1.0

Copyright: Feel free to redistribute the script/modify it, as
     long as you leave my infos at the top.
-------------------------------------------------------------------------- */


(function($){

$.fn.s3Slider = function(vars) {

var element     = this;
var timeOut     = (vars.timeOut != undefined) ? vars.timeOut : 4000;
var current     = null;
var timeOutFn   = null;
var faderStat   = true;
var mOver       = false;
var items       = $("#" + element[0].id + "Content ." + element[0].id + "Image");
var itemsSpan   = $("#" + element[0].id + "Content ." + element[0].id + "Image span");

items.each(function(i) {

   $(items[i]).mouseover(function() {
      mOver = true;
   });

   $(items[i]).mouseout(function() {
       mOver   = false;
       fadeElement(true);
   });

});

var fadeElement = function(isMouseOut) {
   var thisTimeOut = (isMouseOut) ? (timeOut/2) : timeOut;
   thisTimeOut = (faderStat) ? 10 : thisTimeOut;
   if(items.length > 0) {
       timeOutFn = setTimeout(makeSlider, thisTimeOut);
   } else {
       console.log("Poof..");
   }
}

var makeSlider = function() {
   current = (current != null) ? current : items[(items.length-1)];
   var currNo      = jQuery.inArray(current, items) + 1
   currNo = (currNo == items.length) ? 0 : (currNo - 1);
   var newMargin   = $(element).width() * currNo;
   if(faderStat == true) {
       if(!mOver) {
           $(items[currNo]).fadeIn((timeOut/6), function() {
               if($(itemsSpan[currNo]).css('bottom') == 0) {
                   $(itemsSpan[currNo]).slideUp((timeOut/6), function() {
                       faderStat = false;
                       current = items[currNo];
                       if(!mOver) {
                           fadeElement(false);
                       }
                   });
               } else {
                   $(itemsSpan[currNo]).slideDown((timeOut/6), function() {
                       faderStat = false;
                       current = items[currNo];
                       if(!mOver) {
                           fadeElement(false);
                       }
                   });
               }
           });
       }
   } else {
       if(!mOver) {
           if($(itemsSpan[currNo]).css('bottom') == 0) {
               $(itemsSpan[currNo]).slideDown((timeOut/6), function() {
                   $(items[currNo]).fadeOut((timeOut/6), function() {
                       faderStat = true;
                       current = items[(currNo+1)];
                       if(!mOver) {
                           fadeElement(false);
                       }
                   });
               });
           } else {
               $(itemsSpan[currNo]).slideUp((timeOut/6), function() {
               $(items[currNo]).fadeOut((timeOut/6), function() {
                       faderStat = true;
                       current = items[(currNo+1)];
                       if(!mOver) {
                           fadeElement(false);
                       }
                   });
               });
           }
       }
   }
}

makeSlider();

};

})(jQuery);

//]]>
</script>

<script type='text/javascript'>
$(document).ready(function() {
$(&#39;#s3slider&#39;).s3Slider({
timeOut: 4000
});
});
</script>

<style type='text/css'>
#s3slider {
background:#fff;
border:0px solid #fff;
width: 700px;
height: 150px;
position: relative;
overflow: hidden;
}
#s3sliderContent {
width: 700px;
position: absolute;
top:-35px;
padding: 0px;
margin-left: 0;
}
.s3sliderImage {
float: left;
position: relative;
display: none;
}
.s3sliderImage span {
position: absolute;
left: 0;
font: 20px Trebuchet MS, sans-serif;
padding: 3px 0px;
width: 700px;
background-color: #fff;
filter: alpha(opacity=80);
-moz-opacity: 0.8;
-khtml-opacity: 0.8;
opacity: 0.8;
color: #000000;
display: none;
bottom: 0;
text-align:center;
}
.clear {
clear: both;
}
</style>










And Here's the code for my quote rotator:

Code: [Select]
<script src='http://dl.dropbox.com/u/5739741/testimonials/quote-rotator/Javascript/jquery.pack.js' type='text/javascript'/>

<script type='text/javascript'>
$(document).ready(function(){
 $(&#39;#testimonials .slide&#39;);
 setInterval(function(){
  $(&#39;#testimonials .slide&#39;).filter(&#39;:visible&#39;).fadeOut(9000,function(){
   if($(this).next(&#39;li.slide&#39;).SIZE()){
    $(this).next().fadeIn(1500);
   }
   else{
    $(&#39;#testimonials .slide&#39;).eq(0).fadeIn(1500);
   }
  });
 },1500);
});

</script>


I'm not a master at javascript, although I have messed around with it. The only thing I can see is that you're referencing jQuery twice; once in an unpacked form, and once in a PACKED form. I believe the jquery.min.js and jquery.pack.js are the same file, just that one is packed to reduce the overall size. I unpacked it with Malzilla, and they looked similar. Because jQuery registers the use of the $ sign, it may very well be placing duplicate code under the registration. But, I only gave it a cursory GLANCE, so this could very well be incorrect.
1395.

Solve : Apache Localhost?

Answer»

Using dreamweaver to BUILD and APACHE xampp as localhost. Unfortunately, I updated the localhost to promp for password and username, ETC. I lost both of them. Now, I can no longer get in. I've searched all over to find the username/password, etc. to no avail. I tried contacting someone from Apache, but could not find anyone.

Can I find this through my system somewhere? On the computer? Or am I screwed here?

can you disable the security locally on your apache server in the httpd.conf file where features are enabled/disabled?

If all else fails, save your website/webpages to a different folder than that of the one CONTAINED in apache, uninstall apache, and reinstall apache clean to reset password.

1396.

Solve : Box over links in firefox?

Answer»

I'm working on my companies WEBPAGE which i did not build, i am just maintaining and updating it. When I changed the colors of the links on the NAVIGATION menu these white boxes show up over them in FIREFOX. When you move your mouse over them the box goes away. I've tried having no hover with no success. I know PRETTY basic html so any HELP would be much appreciated.

www.andayaonline.com What software did you use to create the page?  What you're seeing is normal.  Why do you want to disable it?  Anyway, you could stop those boxes from appearing by removing the Alt attribute from HTML tags.  For some info, see http://www.htmlcodetutorial.com/images/_IMG_ALT.html

1397.

Solve : Getting 'submit' behavior from a data entry box using HTML?

Answer»

I am in the process of developing an online store, and need to complete it as soon as possible. I have been a COMPUTER programmer for years doing business applications, but have been working on development of my website for about the last 2 1/2 months, so I am a beginner at web development, and it is quite different from the programming languages I have experience in in many ways.  I have been writing a book for several years part-time, so I am a first-time author, and will be self publishing.  I need my online store to be working before I have my first printing done since my web site will be the primary WAY I will market my written book, and other books I am in the process of writing.
   I am using PHP with HTML and MySQL on an Apache SERVER.  The first program is called shop.php, and is working fine.  That program gives a description about my website, and on the bottom is a listing of the books I am selling, and the customer may click on a book title to see details of the book.  The second program is called view_product.php, which enables the customer to see detailed information about the book the customer has clicked on in the previous screen, and is considering ordering.  This program creates a screen which enables the customer to input the quantity of a specific book.  When the customer wants to go to the next screen, the customer SIMPLY inputs the quantity to order, and clicks on the 'Add to Cart' button.  That program is also working fine.  The problem occurs in the next program, which is named edit_cart.php, and the quantity box next to the 'Change Quantity' button behaves like a 'submit' button, and prevents the customer from changing the quantity.  The 'Change Quantity' button also behaves like a 'submit' button, and that is as it should be.  I have a GOOD HTML/CSS book, but does not cover a problem of this nature.  I have tried several different approaches to resolve this, but nothing I have tried works.  I'm hoping someone will help me resolve this problem soon.
   The first section of code below is from view_product.php, and works fine.  The second section of code is from edit_cart.php, and is where the problem is.  Let me know if you need more code or information from me.  Thanks.

Excerpt of code from view_product.php:

 


     
     
       
        Quantity:

   Various PHP commands with no HTML commands

if ($qty != 0) {
    echo '';
} else {
    echo '';
}
echo '     value="' . $qty . '"/>';
?>

     
     
   
Item Name QuantityPrice EachExtended Price
Item Name QuantityPrice EachExtended Price
     echo $prodcode; ?>">     alt=""/>[/url][/url]
         
     

   echo '';
   echo '';
   echo '';
   echo '';
   echo '       value="' . $qty . '"/>';
//   echo 'Change Quantity: ';
//   echo '';
?>

     
     
   
$ $        number_format($price * $qty, 2); ?>
   




Thanks,

aplusguy

1398.

Solve : How do I administer my website?

Answer»

I'd like to know (before I ask my crazy friend of mine) how to administer a webpage? She knows the stuff butI want to know on my own how to do that. I'm frustrated.You need access to the web server hosting the website.  Such access can usually be accomplished either via access to a CONTROL panel opened with your web browser by going to a special web page of the hosting service, or by using FTP software to connect directly from your computer to the web server.  In either case, you need a username and password.  And, obviously, you would need to either be the person of developed the web page, created the account with the hosting service, and PUBLISHED the web page to the world wide web, or you would need to be AUTHORIZED as an administrator by the person who has already created and published the web page.  What you want rreally to manage , for what script you are talking about ?Hi there,
Here what you need as a beginner is a copy of Microsoft Expression. How you get it is up to you. Now that you have that installed, just start it up. Go to File-Import-Import Site Wizard. Once that window comes up, make sure you SELECT the HTTP bullet. Type in the address of your web server (e.g suppose link deleted) and hit next. Go with the default location on the next window, and hit next. When the next window comes up, hit next, then finish. You website may take a few minutes to download. Now you can use Expression to make changes easy. To upload the changes goto File-export-Export site Wizard. The same steps apply to uploading as downloading.

Good LUCK.
- Ley berls.

1399.

Solve : forum?

Answer»

Hi
How can I make a forum in my website, and how can I create it in ArabicWordPress in Your Language
http://codex.wordpress.org/WordPress_in_Your_Language
Quote

نرحب بكم في الموقع الرسمي لبرنامج ووردبريس المعرّب.
I have o idea what that says.  WordPress isn't a forum.

Try SMF, phpBB or myBB, the three of which are free. vBulletin and IPBoard and two commercials.Dear moderator, Please do a little research before you post.
Wordpress has plug ins for almost anything can imagine. 
http://wordpress.org/support/topic/use-wordpress-as-a-forum

He WANTS Arabic. Here it is on phpbb:
http://www.phpbb.com/community/viewtopic.php?f=66&t=611529
SMF
http://www.simplemachines.org/community/index.php?topic=15576.0Yes, I do know that. They don't have the functionality of standalone software. Quote from: kpac on May 03, 2011, 02:45:59 PM
Yes, I do know that. They don't have the functionality of standalone software.
Yes, that is true. Dear KPac
thanks for referring to PhpBB, I did that and MADE my forum in english (www.mutazali.com/php_1), I read that an arabic language package can be installed, I downloaded it, unziped it but I don't know where to insert it in the folder of my forum. can you help check the ATTACHED folder structure of my forum ?

[recovering disk space - old attachment DELETED by admin]
1400.

Solve : target and external link?

Answer»

what website is put in a target and external LINK? do I put the reference SITE I used for my website as a target/external link or something ELSE?
Not sure what you mean exactly...