Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~12.5K People Reached
Favorite Forums

11 Posted Topics

Member Avatar for Wraithmanilian

Wraithmanilian: I want to set a max width and height then resize my images (of different aspect ratios) to fit inside that "box" (resizing up/down as necessary) while retaining its original aspect ratio. Can I (and if so how) can I do this with your code? [QUOTE=Wraithmanilian;1136197]This code is for …

Member Avatar for Web Dev Rob
0
377
Member Avatar for ms_sws

Is there a way to create a div or some container in which there will be an image such that the image fills the container but retains its aspect ratio? So if the container is 100px x 100px and an image is 200px x 100px it will be resized to …

Member Avatar for prabinrai
0
150
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Member Avatar for ms_sws
0
2K
Member Avatar for ms_sws

I have a table that looks like: [CODE] <table id="mytable" border="2" width="640px"> <tr> <td></td> <td><b>Col 1</b></td> <td><b>Col 2</b></td> <td><b>Col 3</b></td> <td><b>Col 4</b></td> <td><b>Col 5</b></td> <td><b>Col 6</b></td> <td><b>Col 7</b></td> </table> [/CODE] and a function to add a row and cells in the row that looks like: [CODE] function addRow() { //add …

Member Avatar for ms_sws
0
714
Member Avatar for ms_sws

I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of …

Member Avatar for ms_sws
0
254
Member Avatar for ms_sws

Is there a way, in Javascript, to get a list of files in a folder (on a server) that I can dynamically load into an array that I can work with when a page loads?

Member Avatar for ms_sws
0
3K
Member Avatar for ms_sws

I have a page with a lot of data validation on it (for a form). But the validation is not actually executed until the user hits Submit. The page loads really slow. Is there a way to control how a page loads so that, as I suspect, the validation Javascript …

Member Avatar for almostbob
0
95
Member Avatar for ms_sws

Please help! I have the following code in the head section of my web page: <script> ..... var serverLoc = "http://www.mydomain.com/mypath/"; var serverFile = serverLoc+"myexcel.xls"; var ehandle = new ActiveXObject("Excel.Application"); //error occurs var eWBhandle = ehandle.Workbooks.Open(serverFile); var eShandle = eWBhandle.ActiveSheet; var cell1 = eShandle.Cells(1,1).Value; // get more data ..... </script> …

Member Avatar for fxm
0
556
Member Avatar for ms_sws

I've used the following code to open Excel. It works but generates a browser error warning the visitor that the web page is trying to run an add-on with an unknown name, and control with an unknown name. Is there a better way to open Excel (read only) in order …

Member Avatar for ms_sws
0
216
Member Avatar for ms_sws

I could use some help. I have a function that opens an Excel spreadsheet to load data from it. The function is found inside <head> </head> and within that inside <script></script> (see below). The problem is that I need to write that data inside the row of a table in …

Member Avatar for ms_sws
0
310
Member Avatar for ms_sws

I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative …

Member Avatar for Airshow
0
5K

The End.