logo-dw

Go Back   Dreamweaver Club Forums > Search Forums
Register FAQ Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 149
Search took 0.01 seconds.
Search: Posts Made By: smitho
Forum: Javascript and JS frameworks 02-01-2010, 03:20 AM
Replies: 1
Views: 804
Posted By smitho
Change the select menus to : <select...

Change the select menus to :


<select name="select1.0" id="select1.0">
then use this JS:


function nodetest(val,val2){
//alert(document.getElementById(val).childNodes.length);
var myclone...
Forum: Javascript and JS frameworks 02-01-2010, 01:05 AM
Replies: 1
Views: 804
Posted By smitho
Count the number of dropmenues

Is there a way to count the number of dropmenus in a cell?

I have a simple JS that will add dropmenus to a cell but I need to make the name for each one I add unique. If I can count the number I...
Forum: ASP 03-15-2009, 10:08 PM
Replies: 2
Views: 3,916
Posted By smitho
I found the problem. There was a nice script I...

I found the problem. There was a nice script I found that give you info about your PC setup when I ran it and browsed the result in firefox I got:

Browser LCID: 1033 Server LCID: 3081

In IE I...
Forum: ASP 03-11-2009, 11:19 PM
Replies: 2
Views: 3,916
Posted By smitho
Just to test my theory I added: ...

Just to test my theory I added:


session.lcid=1033
'1033 is General Unicode
The result was:


2/9/2009 = (126)Files
2/10/2009 = (109)Files
Forum: ASP 03-11-2009, 11:04 PM
Replies: 2
Views: 3,916
Posted By smitho
ASP and MS Access date problem.

Hi all,

It's been a very long time since I've posted. Teaching myself ASP over the last year and a bit, wished my work place would adopt PHP would make my life easier. Anyway I've got a problem...
Forum: PHP 04-23-2008, 11:46 AM
Replies: 23
Views: 3,345
Posted By smitho
Ok after doing some looking around I found "Day...

Ok after doing some looking around I found "Day 15 - Task Scheduler" which works with bat files. Am I correct in saying you should be able to create a bat file that reads the files in a set folder...
Forum: PHP 04-22-2008, 12:15 AM
Replies: 12
Views: 2,166
Posted By smitho
Thanks pete, When you mentioned the...

Thanks pete,

When you mentioned the imagemagick will convert the first page of a pdf I thought there might be a way to tell if the pdf was a multiple page. Could you try and out page 2 of the pdf...
Forum: PHP 04-21-2008, 01:22 PM
Replies: 23
Views: 3,345
Posted By smitho
ImageMagik seems does a better job of the jpegs...

ImageMagik seems does a better job of the jpegs (better looking) but I was finding that if i tried to process more than 4 pdfs in one go I would get the following error:

Maximum execution time of...
Forum: PHP 04-21-2008, 11:40 AM
Replies: 23
Views: 3,345
Posted By smitho
Just installed Q16 version or the...

Just installed Q16 version or the 16-bits=per-pixel component ImageMagic-6.4.0-3-Q16-windows-dll.exe. will run some test and see how it goes.

Thanks pete.
Forum: PHP 04-21-2008, 10:54 AM
Replies: 23
Views: 3,345
Posted By smitho
Thanks pete, I'm currently doing my dev work...

Thanks pete,

I'm currently doing my dev work on windows (using wamp). I started on a Mac but moved to PC for the moment. I've looked at ImageMagick but don't think its part of wamp. From what I've...
Forum: PHP 04-19-2008, 12:58 PM
Replies: 23
Views: 3,345
Posted By smitho
Is there a reason I should try a foreach loop? ...

Is there a reason I should try a foreach loop?

I gather you mean something like this. Doesn't work by the way.


if(is_dir('./images')){
if ($handle = opendir('./images')) {
//while...
Forum: PHP 04-18-2008, 12:41 PM
Replies: 23
Views: 3,345
Posted By smitho
This will convert each file to jpg. So if...

This will convert each file to jpg.

So if there are 3 pdfs in /images.
There will be 3 jpgs in /hold


if ($handle = opendir('./images')) {
while (false !== ($file = readdir($handle))){
...
Forum: PHP 04-18-2008, 11:59 AM
Replies: 23
Views: 3,345
Posted By smitho
This is not as easy as I thought the next step in...

This is not as easy as I thought the next step in the process is to take the files in the folder (in this case pdfs) and create a jpg preview of each one.

The code I use normally is :

...
Forum: PHP 04-17-2008, 01:31 PM
Replies: 23
Views: 3,345
Posted By smitho
Thanks pete, just went over davidj's class...

Thanks pete,

just went over davidj's class example and saw the echo $results.

So this works fine.


include("FolderClass.php");

$images1 = new Folder("./images");
Forum: PHP 04-17-2008, 12:48 PM
Replies: 23
Views: 3,345
Posted By smitho
Finally finished the other code I've been working...

Finally finished the other code I've been working on and I can focus on this again.

I've followed pete's advice but its not returning anything don' t know what I'm missing:


class Folder {

...
Forum: PHP 04-15-2008, 05:12 AM
Replies: 11
Views: 2,811
Posted By smitho
Ok this is almost complete. If someone could...

Ok this is almost complete. If someone could help me with combining the paging an filter that would be great.

Just to make it clear the way I got the filter to work was to capture what the user...
Forum: PHP 04-15-2008, 02:27 AM
Replies: 11
Views: 2,811
Posted By smitho
Although the show/hide button looks nice I don't...

Although the show/hide button looks nice I don't thinks it's going to work. What I'm after is a filter effect that stays set even when you refresh the page, go to the next page or even go to another...
Forum: PHP 04-14-2008, 10:47 AM
Replies: 11
Views: 2,811
Posted By smitho
If you go to : ...

If you go to :

http://www.dreamweaverclub.com/vtm/php-mysql-apache.php


and watch "PHP, A Beginners Guide"

Part9 , 10 and 11.

you'll get the base for what I've put here. I like using...
Forum: PHP 04-14-2008, 04:55 AM
Replies: 11
Views: 2,811
Posted By smitho
Just realized the example I posted was one after...

Just realized the example I posted was one after using dreamweavers auto paging. This one has been cut down. I've added the show/hide button. After seeing the link to the paging tut I'm wondering if...
Forum: PHP 04-13-2008, 11:21 PM
Replies: 11
Views: 2,811
Posted By smitho
Here's the code I've adapted to davidj's examples...

Here's the code I've adapted to davidj's examples that way anyone who has gone through his tuts can use this code as well.

The only thing you'll need to do is add another field to the users table...
Forum: PHP 04-13-2008, 01:28 PM
Replies: 11
Views: 2,811
Posted By smitho
Got this working with a button but I found a...

Got this working with a button but I found a little problem. I'm using pages to navigate through the table as it gets bigger and bigger. What I found was that when the display:none is active all that...
Forum: PHP 04-10-2008, 06:44 AM
Replies: 11
Views: 2,811
Posted By smitho
Worked out: {echo...

Worked out:

{echo "style=\"display:none\"";}will do the trick just need to work out how to turn it off and on.

Might try and check box or button but need it to stay set so if you refresh the...
Forum: PHP 04-10-2008, 05:41 AM
Replies: 11
Views: 2,811
Posted By smitho
Is it possible to hide rows in a dynamic table?

I have a dynamic table and as it builds the users flags/tick what they have done with each row of data. In one of the columns I have completed as the status. Once the user has ticked completed the...
Forum: PHP 04-09-2008, 12:03 PM
Replies: 23
Views: 3,345
Posted By smitho
Greatly appreciated pete, I mist the if...

Greatly appreciated pete,

I mist the if ($handle = opendir('./images')) { from the original example. Iíll give this a go.

Cheers.
Forum: PHP 04-09-2008, 11:53 AM
Replies: 12
Views: 2,166
Posted By smitho
Thanks student101, I had a feeling it might...

Thanks student101,

I had a feeling it might be asking a bit much at the upload stage. I know that once the file is uploaded I could probably do a couple of checks and tell if it's a doc or a...
Showing results 1 to 25 of 149

 
Forum Jump

All times are GMT. The time now is 12:44 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com