# web dev

**URL:** https://forum.kirupa.com/c/programming/web-dev/42.md?page=89

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 90

---

## [How can create a Pyramid program by loop and switch function?](https://forum.kirupa.com/t/how-can-create-a-pyramid-program-by-loop-and-switch-function/288461)

<div class="topic-metadata">

**Author:** [@herbert101smith](https://forum.kirupa.com/u/herbert101smith)\
**Replies:** 0\
**Last updated:** [May 16, 2009, 3:46am UTC](https://forum.kirupa.com/t/how-can-create-a-pyramid-program-by-loop-and-switch-function/288461 "2009-05-16T03:46:19Z")

</div>

Hi Friends, Please take a look on given codes and find out where I have committed any mistake. Actually I have created 5 buttons and trying to display a pyramid after clicked on button. I am using a javascript function…

---

## [A quick way to condense html code?](https://forum.kirupa.com/t/a-quick-way-to-condense-html-code/288456)

<div class="topic-metadata">

**Author:** [@bsyapril88](https://forum.kirupa.com/u/bsyapril88)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 10:17pm UTC](https://forum.kirupa.com/t/a-quick-way-to-condense-html-code/288456 "2009-05-15T22:17:38Z")

</div>

I'm looking for an easy way to condense code. For example turning... \<html\> \<img src="hi.jpg" /\> Hi! \</html\> ...into... \<html\>\<img src="hi.jpg" /\>Hi!\</html\> Is there a website or an option in dreamweaver to d…

---

## [Making Validation Code XHTML Compatible](https://forum.kirupa.com/t/making-validation-code-xhtml-compatible/288451)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 9:07pm UTC](https://forum.kirupa.com/t/making-validation-code-xhtml-compatible/288451 "2009-05-15T21:07:01Z")

</div>

I have some older JS code that won't work with XHTML: /\* This script is working with \<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\> only \*/ // A utility function that returns true if a string contai…

---

## [ExternalInterface addCallback issue with IE](https://forum.kirupa.com/t/externalinterface-addcallback-issue-with-ie/288450)

<div class="topic-metadata">

**Author:** [@diparc](https://forum.kirupa.com/u/diparc)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 8:23pm UTC](https://forum.kirupa.com/t/externalinterface-addcallback-issue-with-ie/288450 "2009-05-15T20:23:37Z")

</div>

I am having an issue with IE when using ExternalInterface and addCallback method - i use extjs for portlets and the flex app is inside the portlet window. all communication with the flex app is fine till I move/maximiz…

---

## [Lightbox 2 error - please help :(](https://forum.kirupa.com/t/lightbox-2-error-please-help/288424)

<div class="topic-metadata">

**Author:** [@DeCal](https://forum.kirupa.com/u/DeCal)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 2:39pm UTC](https://forum.kirupa.com/t/lightbox-2-error-please-help/288424 "2009-05-15T14:39:47Z")

</div>

Hey guys, Just been playing about with Lightbox and added it to the page: http://www.dean.co.uk/baby It seems to work fine for me in IE 7 on my Windows Vista Ultimate machine, but wont load the images in Firefox at a…

---

## [Cross Browser Help Needed!](https://forum.kirupa.com/t/cross-browser-help-needed/288417)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 0\
**Last updated:** [May 15, 2009, 1:22pm UTC](https://forum.kirupa.com/t/cross-browser-help-needed/288417 "2009-05-15T13:22:40Z")

</div>

The following code works fine in IE and Opera. In Firefox it does not show the top ads first and only the first 4 links at the top work. Could anybody shed light on why Firefox is not allowing this to operate correctly …

---

## [Ajax drop down not pushing container div down](https://forum.kirupa.com/t/ajax-drop-down-not-pushing-container-div-down/288372)

<div class="topic-metadata">

**Author:** [@Heerefishyfish](https://forum.kirupa.com/u/Heerefishyfish)\
**Replies:** 0\
**Last updated:** [May 14, 2009, 8:36pm UTC](https://forum.kirupa.com/t/ajax-drop-down-not-pushing-container-div-down/288372 "2009-05-14T20:36:26Z")

</div>

Hi all, I'm developing a site that uses ajax to hide/display content using Ajax. It's working perfectly, with one exception- As the description expands vertically, the main div stays static, so the content expands pa…

---

## [Google Maps: Clickable markers](https://forum.kirupa.com/t/google-maps-clickable-markers/288361)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [May 14, 2009, 5:57pm UTC](https://forum.kirupa.com/t/google-maps-clickable-markers/288361 "2009-05-14T17:57:09Z")

</div>

In this Google Maps example: http://graargh.returnstrue.com/rajdeep/maps/tools/latlong\_tool/v7/lat-long-tool\_v7.html You can click on the map and populate the data grid with info on the marker location. However, i…

---

## [Click jpg/SWF on HTML page to load new SWF in its place?](https://forum.kirupa.com/t/click-jpg-swf-on-html-page-to-load-new-swf-in-its-place/288348)

<div class="topic-metadata">

**Author:** [@bhb](https://forum.kirupa.com/u/bhb)\
**Replies:** 0\
**Last updated:** [May 14, 2009, 3:11pm UTC](https://forum.kirupa.com/t/click-jpg-swf-on-html-page-to-load-new-swf-in-its-place/288348 "2009-05-14T15:11:56Z")

</div>

I have several swfs I cannot edit which I would like to place in a table on an HTML page. I do not want all of them to autoplay, so ideally I would like to put jpg stills in their place and upon user clicking each jpg t…

---

## [Make Youtube video auto play (auto start) on your MySpace profile](https://forum.kirupa.com/t/make-youtube-video-auto-play-auto-start-on-your-myspace-profile/288331)

<div class="topic-metadata">

**Author:** [@Shirley1874](https://forum.kirupa.com/u/Shirley1874)\
**Replies:** 0\
**Last updated:** [May 14, 2009, 9:47am UTC](https://forum.kirupa.com/t/make-youtube-video-auto-play-auto-start-on-your-myspace-profile/288331 "2009-05-14T09:47:40Z")

</div>

Source: http://flash-video-player.blogspot.com/2009/05/make-youtube-video-auto-play-auto-start.html In a previous article I talk about how to add a YouTube video to your MySpace profile. I have also noticed that lots of…

---

## [Java Error](https://forum.kirupa.com/t/java-error/288327)

<div class="topic-metadata">

**Author:** [@corbingeorgel](https://forum.kirupa.com/u/corbingeorgel)\
**Replies:** 0\
**Last updated:** [May 14, 2009, 9:32am UTC](https://forum.kirupa.com/t/java-error/288327 "2009-05-14T09:32:23Z")

</div>

Hello, I've tried to invoke the public method of an applet as following: \<applet id="myApplet" ...\>\</applet\> \<script\> var returnValue = myApplet.thePublicMethod(); alert( returnValue ); \</script\> however, it seems …

---

## [Weird CSS display in Dreamweaver](https://forum.kirupa.com/t/weird-css-display-in-dreamweaver/288315)

<div class="topic-metadata">

**Author:** [@GGMcGee](https://forum.kirupa.com/u/GGMcGee)\
**Replies:** 0\
**Last updated:** [May 14, 2009, 3:53am UTC](https://forum.kirupa.com/t/weird-css-display-in-dreamweaver/288315 "2009-05-14T03:53:56Z")

</div>

Hi, Think this may be a Dreamweaver bug... but was just gonna ask you guys to see if you've encountered it before. Basically Dreamweaver seems to think I have two styles attached to the one website, which I don't. …

---

## [Am i going to have to use a table?!](https://forum.kirupa.com/t/am-i-going-to-have-to-use-a-table/288285)

<div class="topic-metadata">

**Author:** [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Replies:** 0\
**Last updated:** [May 13, 2009, 5:59pm UTC](https://forum.kirupa.com/t/am-i-going-to-have-to-use-a-table/288285 "2009-05-13T17:59:54Z")

</div>

First off i haven't done html/css in a donkey's age, so maybe this is simple, but i can't figure it out. What i need is 3 divs, with the central one of a fixed width and the other two resizing to keep the central one in …

---

## [What technology is this?](https://forum.kirupa.com/t/what-technology-is-this/288279)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [May 13, 2009, 5:31pm UTC](https://forum.kirupa.com/t/what-technology-is-this/288279 "2009-05-13T17:31:34Z")

</div>

Does anybody know what technology is used on the right-hand side of this page under "Instant Pricing"... This is the link: http://www.printrunner.com/business-cards.aspx It looks like some form of Ajax/JavaScript, bu…

---

## [Do you still use MIN/MAX-WIDTH and MIN/MAX-HEIGHT](https://forum.kirupa.com/t/do-you-still-use-min-max-width-and-min-max-height/288234)

<div class="topic-metadata">

**Author:** [@nilulk](https://forum.kirupa.com/u/nilulk)\
**Replies:** 0\
**Last updated:** [May 13, 2009, 6:34am UTC](https://forum.kirupa.com/t/do-you-still-use-min-max-width-and-min-max-height/288234 "2009-05-13T06:34:26Z")

</div>

Title is wrong , correct one should be : Do you use MIN/MAX-WIDTH and MIN/MAX-HEIGHT ?? I am building a liquid layout with percentage and wonder if I have to use MIN/MAX-WIDTH and MIN/MAX-HEIGHT , …

---

## [IE bug - Does anyone know how to correct the extra padding?](https://forum.kirupa.com/t/ie-bug-does-anyone-know-how-to-correct-the-extra-padding/288087)

<div class="topic-metadata">

**Author:** [@stoney\_kun](https://forum.kirupa.com/u/stoney_kun)\
**Replies:** 0\
**Last updated:** [May 11, 2009, 4:32am UTC](https://forum.kirupa.com/t/ie-bug-does-anyone-know-how-to-correct-the-extra-padding/288087 "2009-05-11T04:32:42Z")

</div>

Please help... I have a list, each item is set to display as block and for some reason extra padding is appearing in IE! http://www.stoneykun.com/uma/island/artist-detail.html Thank you \[smile\]

---

## [How To Retreive Data From Another Web Page?](https://forum.kirupa.com/t/how-to-retreive-data-from-another-web-page/288071)

<div class="topic-metadata">

**Author:** [@ariel\_mirahy](https://forum.kirupa.com/u/ariel_mirahy)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 8:07pm UTC](https://forum.kirupa.com/t/how-to-retreive-data-from-another-web-page/288071 "2009-05-10T20:07:51Z")

</div>

I'm trying to have the NFL live scores on my own web page, because I'm trying to make it specially for cellphone devices because the NFL.com web page doesn't open quite well on my cellphone... How can I retrieve the da…

---

## [Problem with passing variables](https://forum.kirupa.com/t/problem-with-passing-variables/288057)

<div class="topic-metadata">

**Author:** [@RummeR](https://forum.kirupa.com/u/RummeR)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 12:10pm UTC](https://forum.kirupa.com/t/problem-with-passing-variables/288057 "2009-05-10T12:10:54Z")

</div>

Long time no thread. But now i got one problem that needs to be resolved. I made a flash mp3 player with as2, which plays a sound from xml by passed variable. Works like this mp3Player.swf?id=1 In mozzila it works fine…

---

## [Problem with jQueries replaceWith method](https://forum.kirupa.com/t/problem-with-jqueries-replacewith-method/288041)

<div class="topic-metadata">

**Author:** [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)\
**Replies:** 0\
**Last updated:** [May 9, 2009, 11:10pm UTC](https://forum.kirupa.com/t/problem-with-jqueries-replacewith-method/288041 "2009-05-09T23:10:16Z")

</div>

Hi all. I am having some issues with the replaceWith method in jQuery. Simply changing the class is fine, and my function works as you would expect. But when I change html with the replaceWith method I run into probl…

---

## [Facebook persistent bottom bar](https://forum.kirupa.com/t/facebook-persistent-bottom-bar/288017)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [May 9, 2009, 2:38pm UTC](https://forum.kirupa.com/t/facebook-persistent-bottom-bar/288017 "2009-05-09T14:38:55Z")

</div>

I'm trying to get a similar effect to Facebook's persistent bottom bar. My situation is a little different: \[image\] #barLeft { display: fixed; width: 150px; height: 50px; left: 0; bottom: 0; } #barR…

---

## [JS Continue function error](https://forum.kirupa.com/t/js-continue-function-error/287948)

<div class="topic-metadata">

**Author:** [@larrywongm](https://forum.kirupa.com/u/larrywongm)\
**Replies:** 0\
**Last updated:** [May 8, 2009, 8:24am UTC](https://forum.kirupa.com/t/js-continue-function-error/287948 "2009-05-08T08:24:06Z")

</div>

Hi ALL, I am here whit some javascript error in my program. Yesterday I created a small program. I used Continue function and wanted print some number after 5 but when I executed program it displayed serial number 1 …

---

## [Help with embeding Flash in HTML](https://forum.kirupa.com/t/help-with-embeding-flash-in-html/287865)

<div class="topic-metadata">

**Author:** [@stoney\_kun](https://forum.kirupa.com/u/stoney_kun)\
**Replies:** 0\
**Last updated:** [May 7, 2009, 7:32am UTC](https://forum.kirupa.com/t/help-with-embeding-flash-in-html/287865 "2009-05-07T07:32:09Z")

</div>

Man this is driving me insane... I have two divs one floating left, the other floating right. Rather than displaying side-by-side, they are stacking.. This error only occurs when the Flash content is present!! Please h…

---

## [Funny Formatting in Opera; Not FireFox](https://forum.kirupa.com/t/funny-formatting-in-opera-not-firefox/287779)

<div class="topic-metadata">

**Author:** [@hojo](https://forum.kirupa.com/u/hojo)\
**Replies:** 0\
**Last updated:** [May 6, 2009, 4:43am UTC](https://forum.kirupa.com/t/funny-formatting-in-opera-not-firefox/287779 "2009-05-06T04:43:33Z")

</div>

Hey guys, I'm using Dreamweaver to produce a WordPress template. Everything looked great until I opened the site with Google Chrome (and hearing about it on Safari). The footer is hanging out on my sidebar, and the con…

---

## [Convert windows encoding to UTF-8](https://forum.kirupa.com/t/convert-windows-encoding-to-utf-8/287755)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [May 5, 2009, 10:05pm UTC](https://forum.kirupa.com/t/convert-windows-encoding-to-utf-8/287755 "2009-05-05T22:05:41Z")

</div>

Is there a way (with JS - no server-side stuff) to convert a windows encoding (e.g., windows-1252) to UTF-8? I'm developing a small script that reads and displays some parsed text from an .html generated from Microsoft…

---

## [Removing the outline from selected swf?](https://forum.kirupa.com/t/removing-the-outline-from-selected-swf/287682)

<div class="topic-metadata">

**Author:** [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Replies:** 0\
**Last updated:** [May 5, 2009, 7:58am UTC](https://forum.kirupa.com/t/removing-the-outline-from-selected-swf/287682 "2009-05-05T07:58:16Z")

</div>

Not too sure how to explain it, so I'd just post the link and you can see for yourself. http://cpics.ca/random.php Basically, I want to get rid of the dotted outline that appears when you click within the embedded sw…

---

## [externalInterface, swfObject, and you](https://forum.kirupa.com/t/externalinterface-swfobject-and-you/287643)

<div class="topic-metadata">

**Author:** [@Goth\_Santa](https://forum.kirupa.com/u/Goth_Santa)\
**Replies:** 0\
**Last updated:** [May 4, 2009, 5:12pm UTC](https://forum.kirupa.com/t/externalinterface-swfobject-and-you/287643 "2009-05-04T17:12:53Z")

</div>

Interesting problem (and of course by "interesting" I mean "frustrating"). I'm using SWFObject to display a flash movie, and that's fine. Now I'm trying to use external interface to pass a variable via JavaScript. H…

---

## [RSS notifications](https://forum.kirupa.com/t/rss-notifications/287608)

<div class="topic-metadata">

**Author:** [@Stimbler](https://forum.kirupa.com/u/Stimbler)\
**Replies:** 0\
**Last updated:** [May 4, 2009, 10:43am UTC](https://forum.kirupa.com/t/rss-notifications/287608 "2009-05-04T10:43:39Z")

</div>

Hey I didn't know where to post it so I'm sorry if it's not the place. I'm redesigning my site and I want to add an RSS option, recently I've encountered with the following site,\[\[url=http://www.beechwoodlandscape.com/la…

---

## [How To Make Internet Explorer To Automatically Run The Scripts On My Page?](https://forum.kirupa.com/t/how-to-make-internet-explorer-to-automatically-run-the-scripts-on-my-page/287593)

<div class="topic-metadata">

**Author:** [@ariel\_mirahy](https://forum.kirupa.com/u/ariel_mirahy)\
**Replies:** 0\
**Last updated:** [May 4, 2009, 4:40am UTC](https://forum.kirupa.com/t/how-to-make-internet-explorer-to-automatically-run-the-scripts-on-my-page/287593 "2009-05-04T04:40:47Z")

</div>

When opening my web page on IExplorer, it asks the user to allow the blocked content, is there any way to show the explorer that my script is clean or a java script code to make the explorer automaticaly run my scripts w…

---

## [Twinhelix IE PNG fix](https://forum.kirupa.com/t/twinhelix-ie-png-fix/287592)

<div class="topic-metadata">

**Author:** [@stoney\_kun](https://forum.kirupa.com/u/stoney_kun)\
**Replies:** 0\
**Last updated:** [May 4, 2009, 4:37am UTC](https://forum.kirupa.com/t/twinhelix-ie-png-fix/287592 "2009-05-04T04:37:31Z")

</div>

Hi there, I am struggling to find a solution for creating CSS rollover effects using background-position and transparent PNG images. I think I am very close using Twinhelix's product. Has anyone ever managed to impleme…

---

## [Expanding A SWF Object By Its Left Side](https://forum.kirupa.com/t/expanding-a-swf-object-by-its-left-side/287573)

<div class="topic-metadata">

**Author:** [@ariel\_mirahy](https://forum.kirupa.com/u/ariel_mirahy)\
**Replies:** 0\
**Last updated:** [May 3, 2009, 10:15pm UTC](https://forum.kirupa.com/t/expanding-a-swf-object-by-its-left-side/287573 "2009-05-03T22:15:56Z")

</div>

I want to expand my SWF to the 100% of my window, but always sticked to the left, for example: www.visionstreetwear.com Note that the SWF's size will always be as the size of your window, but also note that when you …

[Previous page](https://forum.kirupa.com/c/programming/web-dev/42.md?page=88)

[Next page](https://forum.kirupa.com/c/programming/web-dev/42.md?page=90)
