RE: Setting Static Image Expire

2009-12-06 Thread Mark Henderson
Matt Quackenbush wrote on Sat, Dec 5, 2009 at 8:29 PM, Jessica Kennedy wrote: I need someone to tell me EXACTLY how to go about doing this. I know it can't be hard, there are a million resources that almost tell me. Statements like these posted on *FREE* help forums or mailing

RE: Setting Static Image Expire

2009-12-06 Thread Mark Henderson
Jessica Kennedy wrote Oh! Sorry, I'm testing on IE 7[..] Hrmm, odd. Then I guess you can disregard my last email because almost all the flicker bugs I know about are IE6 exclusive. Good luck. ~| Want to reach the ColdFusion

RE: Regex help with invalid HTML

2009-11-17 Thread Mark Henderson
List wrote at 17 November 2009 14:32: Andy matthews, you're welcome. Ah hah, that's a name I'm more familiar with. testing Roger. And excuse the previously poorly formatted code (it looked ok at my end before sending but occasionally in Outlook 2007 when I copy and paste from external apps

RE: Regex help with invalid HTML

2009-11-17 Thread Mark Henderson
Peter Boughton wrote on Wed 18/11/2009 at 03:12: The only time parsing HTML with RegEx might be remotely viable is when you know what that code will be - if the HTML is uncontrolled then using RegEx is a futile effort. RegEx is for dealing with Regular text, and HTML is not a Regular

RE: Regex help with invalid HTML

2009-11-16 Thread Mark Henderson
Azadi Saryev wrote on 16 November 2009 at 17:58 you can do it with something like this: cfset line='trtd class=la href=/blah.com/atd31 622td25 623td193 645td840 642td1.9 GB' cfset cleanline = rereplace(line, 't[^]+', '|', 'all') cfoutput#listfirst(cleanline, '|')# #listlast(cleanline,

Regex help with invalid HTML

2009-11-15 Thread Mark Henderson
Calling all regex gurus. I've spent a little time on this so now it's time to seek advice from the professionals. Here is an example of the content I'm working with: trtd class=la href=/abc.co.nz/atd52 363td73 815td5 122 265td2 166 760td471.47 MB trtd class=la href=/xyz.co.nz/atd31 622td23

RE: Regex help with invalid HTML

2009-11-15 Thread Mark Henderson
lists wrote: Will it always be a domain name you want to keep? And will the file size always be at the very end of the line? Yes, and yes (confirmed all the TRs start on a new line). Regards Mark ~| Want to reach the

SQL Help

2009-08-25 Thread Mark Henderson
Greetings from the chilly south, I have this query and it returns the expected result set, but I can't work out how to use a join instead of the NOT IN clause and I *know* that is going to be more efficient. Basically, I want to exclude the current special from the result set. Any ideas?

Re: SQL Help

2009-08-25 Thread Mark Henderson
Kevin Roche wrote: Mark, What DBMS are you using? If its SQL Server, I don't think what you want to do is possible other than how you have already done it. If you find another way to do it (with a join) I would also be interested to see that. Kevin Roche Hi Kevin, Yes it's MS SQL.

Re: SQL Help

2009-08-25 Thread Mark Henderson
Thanks Billy and Michael (and Kevin). After some trial and error I managed to stumble upon solution (the outer join gave me results but not the expected set). cfquery name=qGetRecentRecord datasource=#request.dsn# SELECT TOP 1 RV.ID AS Rec_ID ,RV.Date_Viewed ,FS.ID

Re: SQL Help

2009-08-25 Thread Mark Henderson
Brian Kotek wrote: WHERE NOT EXISTS should also work. Yes it does, and I knew about that method when using NOT IN, as it was a simple change to my original working query. What I didn't know, but now do after some googling, is that NOT EXISTS means it uses an index in the subquery as opposed

Alternatives to multiple 'if/else if' statements

2009-07-28 Thread Mark Henderson
This is a pretty basic question so I hope it makes sense, as I'm curious to know what other techniques are available to achieve the same result as the code below (hopefully in a more efficient manner). This is for a photo gallery of winning garments from a recent awards evening. Here is the

RE: Alternatives to multiple 'if/else if' statements

2009-07-28 Thread Mark Henderson
Jason Fisher wrote: cfswitch / cfcase is the way to go ... except that it won't do a CONTAINS for you, only a string or list element match. That being said, if you can do a string match (instead of a partial string match), then a single cfswitch has better performance than 30 cfif tests

Windows Server 2008 and CF5

2009-06-21 Thread Mark Henderson
I'm after recommendations based on my current predicament. I'm assisting with the move of a web server. The new platform is Windows Server 2008 with IIS 7, and the currently provided version of Coldfusion is 5. Yes, version 5 My questions are: Is there a way to manually configure

RE: Windows Server 2008 and CF5

2009-06-21 Thread Mark Henderson
Is there a way to manually configure coldfusion 5 for use with IIS 7 (when installing it fails to recognise IIS 7 as a web server so I'm forced to use the default). I know this can be manually done with MX but not so sure about CF5. I've added the appropriate handlers and script mappings to

RE: Windows Server 2008 and CF5

2009-06-21 Thread Mark Henderson
Dave Watts wrote: I don't know if this will work, but here's what I'd try in your position. First, install the IIS 6 compatibility option within IIS 7. Then, follow these instructions for installing CF 5 on IIS 6: http://kb2.adobe.com/cps/186/tn_18689.html Thanks Dave. IIS 6 compatibility

RE: (ot) Apply my own CSS in Firefox on a particular web site?

2009-05-26 Thread Mark Henderson
Jim McAtee wrote: I frequent one particular web site (a forum) that I find difficult to read due to the choice of skin colors, font face, sizing and line spacing. Is there any way in Firefox that I can apply a style sheet to _only_ this particular web site? As a *blind* man, I can relate. I

Re: Any JS wizards out there care to lend a hand?

2009-04-24 Thread Mark Henderson
Che Vilnonis wrote: Cutter Andy... like I mentioned in an earlier email, I'm no jQuery wiz and don't have the skillz to convert the Suckerfish script to jQuery. That is why I am looking for a pre-made solution that I can then tweak design wise. Searches on Google for jQuery Menus return

Re: cross browser CSS

2009-04-04 Thread Mark Henderson
Peter Boughton wrote: And whether you count -moz-* or -webkit-* stuff too - since it's technically engine-specific but of course doesn't apply if the browser doesn't support it. One sheet for *good* browsers (gecko, webkit, presto etc), and one for the other beast (s). But for

Re: cross browser CSS

2009-04-03 Thread Mark Henderson
Peter Boughton wrote: Now that I've thought of it, it seems incredibly obvious - which makes me wonder if I'm missing some fatal flaw preventing it from already being a common technique. :S Heh, well, it *is* considered bad practice (just post this idea to CSS-D and see what happens -

RE: Data Import

2009-03-29 Thread Mark Henderson
mail merge as you would normally. If you are ever likely to have to do it again with the same sheet, simply write a macro, or even record one to repeat the task. Regards Mark Henderson Web Developer   P: 03 203 F: 03 203 9900 E: m...@cwc.co.nz W: http://www.cwc.co.nz

Query Group Clause and determining the end of a group

2009-03-12 Thread Mark Henderson
Greetings from the chilly south of NZ, A little background, and I apologise in advance for the length of this post: I have a query which grabs all sponsors from the appropriate tables. There are 8 categories but two different sponsor types - those with images and those that display as

RE: Query Group Clause and determining the end of a group

2009-03-12 Thread Mark Henderson
Ooops, sorry about that first post. I hadn't set Outlook 2007 (yes, please keep the comments to yourself!) to automatically send text messages to the list. Settings for cf-talk updated now. Regards Mark ~| Adobe® ColdFusion® 8

Re: default font size for a page

2008-04-17 Thread Mark Henderson
Andy Matthews wrote: You need to assign a default font size to containers. I generally use this method: body, p, div, td { font-family: verdana; font-size: .8em; color: #00; } Just a minor point of order here, but that approach will trigger the (now) well known font

RE: SOT - SQL Union Problem

2008-02-28 Thread Mark Henderson
Sonny, Sorry for the delay, as your original message got eaten by NoSpamToday on our Exchange server (go figure) and my time zone tends to have me in bed when the *rest of the world* is hard at work. Awesome, thanks (yes I think it worked)! I do have one question however - when I do the

RE: SOT - SQL Union Problem

2008-02-28 Thread Mark Henderson
And thanks to Ben as well (and anyone else I missed), who also went into NoSpamToday (usually a product I have no hassles with). Mark -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: 29 February 2008 04:42 To: CF-Talk Subject: Re: SOT - SQL Union Problem I'm not an

SOT - SQL Union Problem

2008-02-27 Thread Mark Henderson
I've spent a little time on this and now it's time to ask the SQL experts. The Scenario --- I have two tables as follows; tblMain: FirstName1 (varchar) SurName1 (varchar) Foundation (bit) tblCentennialMembers: FirstName (varchar) LastName (varchar) These

RE: SOT - SQL Union Problem

2008-02-27 Thread Mark Henderson
Update - I forgot to mention, so far this is what I have: SELECT FirstName1 AS FirstName, Surname1 AS LastName FROM tblMain WHERE foundation = Yes UNION SELECT FirstName, LastName FROM tblCentennialMembers; This is now working and I'm checking the data integrity, as I'm not sure it's not

RE: SOT - SQL Union Problem

2008-02-27 Thread Mark Henderson
OK, so that was working, and those are the only two fields I want to union on, which is fine. But now I also want to add the address fields to the query result, without doing a union on those additional fields. Some addresses aren't entered quite right, and this will then create duplicates even

Bad Word Regex Help

2007-12-17 Thread Mark Henderson
Normally I would just use boundaries (\b) for this, but since the current platform is running CF5, that's not an option. For all you regex people out there, all I want to do is test a string for the existence of any bad words. cfset badWordList = lots,of,bad,words,here / cfloop

RE: Bad Word Regex Help

2007-12-17 Thread Mark Henderson
Hi Claude, Thanks for the help. How about (non tested) reReplaceNoCase(attributes.replacedString, ([^a-zA-Z])#wordKey#([^a-zA-Z]), \1**CENSORED**\2, all) I tried something similar earlier, and tested your suggestion just now:

RE: Bad Word Regex Help

2007-12-17 Thread Mark Henderson
The only thing I'm not sure is if it will match in the case of the beginning and the end of the string. Better make sure, try : (^|[^a-zA-Z])#wordKey#([^a-zA-Z]|$) Awesome, thanks! Pardon my previous inept description, as I know the carrot means 'not'. Mark

RE: Interesting Firefox behavior

2007-08-30 Thread Mark Henderson
On 8/29/07, Ian Skinner wrote: Here is some interesting behavior. Give this code snippet a try in Firefox and see what happens when you try and click in the second text input box. form labelPublic Telephone Number: span input type=text name =foo size = 3

RE: Regex help with search strings

2007-07-27 Thread Mark Henderson
Bobby Hartsfield wrote: My brother's name is Justin William Eugene Mckinney III. That might throw you for a loop. It will really throw you for a loop when it is Justin William Eugene Mckinney III PHD Or Dr. Justin William Eugene Mckinney III Hi Bobby Yep, I considered this type of thing

Regex help with search strings

2007-07-26 Thread Mark Henderson
, email, etc. The criteria for this will be the space between the names. This looks like a case for regular expressions. I know how to use REFind to check for the space, but that's all so far (I've spent some time on this, and even read the docs!). Can someone help me here please? TIA Regards Mark

RE: Regex help with search strings

2007-07-26 Thread Mark Henderson
From: Ben Doom Sent: Friday, 27 July 2007 2:17 a.m. To: CF-Talk Subject: Re: Regex help with search strings You could do this with a regex but it would be easier and more efficient to do it with listfind() using a space as the delimiter. Hi Ben. I worked it out using a regex but I

RE: Regex help with search strings

2007-07-26 Thread Mark Henderson
From: Mark Henderson Sent: Thursday, 26 July 2007 10:19 a.m. To: CF-Talk Subject: Regex help with search strings Hi I have a search box that currently contains only one field. I normally have one input for first name, one for lat name and so on, which makes the task of searching

Re: This is a good one - another Regex question

2007-07-23 Thread Mark Henderson
Claude Schneegans wrote: IMO, the format you are trying to modify is by far more correct than the result you are trying to attempt. Agreed. And the question, although once posed, still beckons - Jide, why do you want to do this again?? What precisely are you gaining by moving the closing

Re: This is a good one - another Regex question

2007-07-23 Thread Mark Henderson
Jide Aliu wrote: Thanks for your reply Claude. I know that formatting wise it's madness to have p tags round ul tag, but the problem we are having is that we are suppplying xml data to a vendor for some reason their system won't accept ul listing without p tags round them. That is my

Re: OT: CSS Question

2007-06-12 Thread Mark Henderson
Rick Faircloth wrote: Hi, all... I'm wondering if anyone knows why and what to do about aligning a div background image to the right top corner of a div. IE 7 and FF display it as expected...IE 6 just leaves it in the *left* upper corner. Here's the code: div class=section

RE: cfloop output into columns - help

2007-05-17 Thread Mark Henderson
Les Mizzell wrote Of course, if you're using CSS for your layouts, this is even easier and no fancy code wrangling needed: div id=container cfoutput query=myQUERY div class=queryCELL#myQUERY.myOUTPUT#/div /cfoutput /div In the most simple form: Set your container div at

RE: cfloop output into columns - help

2007-05-17 Thread Mark Henderson
From: Bobby Hartsfield Sent: Friday, 18 May 2007 12:08 p.m. To: CF-Talk Subject: RE: cfloop output into columns - help Of course, tables are perfect layout tools for tabular data, yes?!? No argument here :-) Agreed, I don't think anyone could argue with that ... or could

Re: CSS Firefox vs. IE Question...

2007-03-21 Thread Mark Henderson
Dana Kowalski wrote: Sandra, look at the actual code on the page. It references ID's multiple times. Yeah the main offender seems to be the id categories. e.g. div id=categories class=widget_style1 As already mentioned, just make it a class, but first things first.

RE: CSS?

2007-03-14 Thread Mark Henderson
Mark Flewellen wrote: Hi Doug, you have an extra closing div tag in your example and if you remove the margin bottom of the banner the footer should close up under the news like you wanted. Change the margin-bottom to padding bottom and you should be in business. Yes, good spotting.

RE: CSS?

2007-03-13 Thread Mark Henderson
Doug Brown wrote on Wednesday, 14 March 2007 1:47 p.m. I was wondering what might be causing a little problem with this in IE6. My footer seems to be about 20-30px below the right column in IE, but is 0px below the right column in FF. Do you have a link we can look at? At the very least

RE: CSS?

2007-03-13 Thread Mark Henderson
Doug, it looks like a variation of margin-collapsing, which you can read more about here: http://www.andybudd.com/archives/2003/11/no_margin_for_error/ The easiest solution is to change the margin on banner ID to padding: #banner { background-image:url(images/green_banner.jpg); height:79px;

RE: cfforms - Please stop breaking my validation

2007-03-08 Thread Mark Henderson
Will Tomlinson wrote on Thursday, March 08, 2007 9:28 AM about some advice to the CF Team regarding validation issues Andy Matthews responded on Friday, 9 March 2007 5:55 a.m. Other than for personal satisfaction, what does it matter if your page validates? Does it validate if you take that

RE: calling all CSS gurus

2006-12-06 Thread Mark Henderson
On Thursday, 7 December 2006 at 1:13 p.m Sandra Clark wrote: Jake I answered your question earlier, but I don't know if it ever went through. I didn't see it either, but it's not in my spam box! To contain something that is floated, float the parent as well. Indeed. Be aware that using

RE: OT - CSS Float Image Bottom Right corner of DIV

2006-11-01 Thread Mark Henderson
On Wednesday at 5:15pm Denny Valliant wrote I'd use a table. :-P See, that's what I'm talking about, and as soon as I hit send I knew there'd be mention of a table in there somewhere! Too cute :-) -- This message has been scanned for viruses and dangerous content by ISPNZ's automated virus

RE: OT - CSS Float Image Bottom Right corner of DIV

2006-10-31 Thread Mark Henderson
Casey Dougall wrote I've been looking all around and maybe it's the 1/2 cup of java that's slowing me down but I can't seem to find any CSS resources that show a person placing an image on the bottom right of a div . Text would wrap above and to the left of the image. Then Sandra Clark

RE: CFIF Statement

2006-10-04 Thread Mark Henderson
On 10/3/06, Mark Henderson wrote: I could be mistaken, but hasn't that been the crux of most of this debate? Then Aaron Rouse wrote: Sorry, figured it was obvious that I was just beating a dead horse and being sarcastic Ditto (hence the 1 liner). I guess my communication skills need

RE: CFIF Statement

2006-10-04 Thread Mark Henderson
Aaron Rouse wrote: Or maybe we need some sarcasm tags or how about a IsSarcasm UDF Ai, and the sarcasm tags seem to be working well enough in other threads. Sometimes it's more fun, as they say, to leave these things as an exercise for the reader. Besides, a little ambiguity reveals something

RE: accordion css control?

2006-10-03 Thread Mark Henderson
Rey Bango wrote The guys at Mad4Milk have a new version which doesn't rely on Prototype. You can catch it here: http://mootools.net/ The moo menu is pretty damned good one of the best you'll get for free in my opinion. Here's another one that's up there:

RE: CFIF Statement

2006-10-03 Thread Mark Henderson
Aaron Rouse wrote: and lets not even get started on the fact you are treating a record count on a query like a boolean. I could be mistaken, but hasn't that been the crux of most of this debate? Mark -- This message has been scanned for viruses and dangerous content by ISPNZ's automated

Re: CF vs. .NET presentations?

2006-10-01 Thread Mark Henderson
On 9/30/06, Robertson-Ravo, Neil (RX) wrote He was being sarcastic, that was obvious. Then John C. Bland II wrote Apparently not. ;-) and the text in question from Jochem: So next time I find an issue where for instance a bug in IE results in incorrect rendering, I can just call and I get a

RE: CF vs. .NET presentations?

2006-10-01 Thread Mark Henderson
CSS developers aren't considered such unless they can make things work cross-browser. Would you agree? Agreed, no arguments there. Even if you don't, that is my take. I won't hire anyone for XHTML/CSS unless they can work cross-browser. So, again...fix your CSS. This is where we differ

Re: Replying after the message

2006-09-07 Thread Mark Henderson
Robertson-Ravo, Neil (RX) wrote: What lists are these? http://webdesign-l.com/ The list owner is Steven Champeon, and let me give you fair warning - if you wish to join do *NOT* top post on this one! http://www.css-discuss.org/mailman/listinfo/css-d run by Eric Meyer. Both are most definitely

RE: Replying after the message

2006-09-05 Thread Mark Henderson
Robertson-Ravo, Neil (RX) wrote: I know Thunderbird etc does this out of the box, and it probably does make sense the way we read etc, but does anyone else find a reply after a message damn annoying?! Then Dave Watts responded No, it's just you. I totally agree with Dave but that is just

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Mark Henderson
From: Aaron Rouse [mailto:[EMAIL PROTECTED] I'd run it through a few different resolutions. I do not keep my browser maximized so not sure what res it would be at but when I would go to view a product the layout was all out of wack unless I widen the browser by a good margin. It's fine

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Mark Henderson
Damn dude... this is awesome! Any time :-) I can't help with many of the cfm questions (partly due to the fact we are still on CF5 here, partly due to the fact my coldfusion sucks, although playing with query analyser really has helped my SQL immensely) so I help where I can. This is

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Mark Henderson
From: James Holmes [mailto:[EMAIL PROTECTED] I'll add one more vital resource: http://www.quirksmode.org/ Definitely a great site for all things related to web development. From: Will Tomlinson [mailto:[EMAIL PROTECTED] Got the css updated. Also just noticed I have some unclosed html

RE: announce: cfportal

2006-08-14 Thread Mark Henderson
On 8/14/06, Barney Boisvert [EMAIL PROTECTED] wrote: Not compatibility, just window size. The right column doesn't have a width set, so it'll compress as narrow as it needs to be to fit, thereby wrapping the content. a simple white-space:no-wrap on the red header divs should take care of

RE: OT: CSS

2006-08-14 Thread Mark Henderson
Here is a test page using span to change the text to red. Why does it not show up? Because in the style sheet you have span{margin-left:30px;font-size:13px;color:#888;display:none} Hence, it's not displaying anything at all. If you have control of the stylesheet (and I hope you do) you

RE: site that can't be copied

2006-08-09 Thread Mark Henderson
Ctrl-A still works. And I totally agree that taking control away from the user is a bad thing (in almost all instances). Mark -- This message has been scanned for viruses and dangerous content by ISPNZ's automated virus detection system, and is believed to be clean.

RE: site that can't be copied

2006-08-09 Thread Mark Henderson
Ctrl-A still works. And I totally agree that taking control away from the user is a bad thing (in almost all instances). Mark Really...not here. Where did you use CTRL+A? In Firefox, and I just noticed in Opera (v9) with JS enabled I can still right click as well as copy and paste

RE: SOT: Large Table Layout.

2006-07-18 Thread Mark Henderson
Ian Skinner [mailto:[EMAIL PROTECTED] wrote: That is a start. Any hints on how to add the same affect for horizontal scrolling in conjunction with the vertical scrolling? Here is the only other bookmark I have regarding this topic from the css-design list (aside from Sandra's

RE: Fusebox 4 installation and custom tags

2006-07-04 Thread Mark Henderson
have searched their Site and cannot find any step by step installation Instructions or any mention of all that is needed To get this running. Any positive help would be appreciated. Hi Terry I'd start by going here: http://www.fusebox.org/xml/index.cfm?method=main.download and install the

Re: Error connecting to Access

2006-06-29 Thread Mark Henderson
Bryan Stevenson wrote: Bit of a mystery hereerror message when tryingt o run a query against Access: Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Could not start session Things tried: -reboot server -compact repair the database

RE: RSS Weather Feed

2006-06-19 Thread Mark Henderson
From: Mark Henderson Sent: Wednesday, 7 June 2006 12:42 p.m. Does anyone have any recommendations they can put forward regarding a reliable RSS weather feed? I've looked at weather.yahoo.com, weather.com, and rssweather.com, and at this stage it looks like I'll probably be going

RE: RSS Weather Feed

2006-06-19 Thread Mark Henderson
From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 June 2006 10:51 a.m. To: CF-Talk Subject: RE: RSS Weather Feed You did check out the source did you not? http://www.nws.noaa.gov/forecasts/xml/ Ian, indeed I did, but it only lists a few main centres and I needed greater

RE: RSS Weather Feed

2006-06-19 Thread Mark Henderson
From: Ian Skinner [mailto:[EMAIL PROTECTED] Mark Ok, whether is something I hope to play with someday. But have yet got around to. Hello Ian It's really not that hard, given I managed to get things working using CF5. Yep, I'm one of those lucky souls, working a day ahead of /most/ of

RSS Weather Feed

2006-06-06 Thread Mark Henderson
Does anyone have any recommendations they can put forward regarding a reliable RSS weather feed? I've looked at weather.yahoo.com, weather.com, and rssweather.com, and at this stage it looks like I'll probably be going with yahoo - http://developer.yahoo.com/weather/. Given this will be on a cf5

Re: Generic CF form handler

2006-05-05 Thread Mark Henderson
Andy Matthews wrote: CFMAIL is a form handler, but it does require a moderate amount of coding to send the values of specific form fields to the recipient. What I'm talking about is something that you could use as a processing page for ANY form you create. You'd never need to touch the

Appending a variable to another variable

2005-12-22 Thread Mark Henderson
I have this working using session variables, and it's no big deal, but there must be another way to do this. Basically, what I want to be able to do is append a counter variable to an existing variable name. For instance, let's assume the following truncated working code: cfset mail_recipients

RE: Appending a variable to another variable

2005-12-22 Thread Mark Henderson
snip You can create a dynamic variable name like so: cfset db_name#i# = db_name And then access it using evaluate(): #evaluate(db_name#i#)# /snip Thanks Jacob, that works. I do still wonder why it's not necessary with session variables. Mark

RE: Appending a variable to another variable

2005-12-22 Thread Mark Henderson
Ty Bobby, Mike, Kym. That helps explain things. I knew my vars were supposed to be scoped to variables by default which is why I was getting confused, but the dot notation explanation clarified that one. Mark ~| Find out

RE: js popup ? damn that ie!!!!!

2005-11-22 Thread Mark Henderson
Dave, It looks like you only want to open a window that sizes to the image within it (I could be wrong). If that's the case, then here's something I've used before, and it is cross browser compatible (from memory it works in IE, NS, FF and Opera). It may or may not suit your needs, but there's a

RE: CSS width in NS 7

2005-11-15 Thread Mark Henderson
Bryan, For starters you don't want that div with a width of 100% plus the margin and padding values (that will result in a horizontal scrollbar). Try something like this: style type=text/css media=all form {margin: 0; padding: 0;} form * {margin: 0; padding: 0;} fieldset {border:solid 1px red;

RE: CSS width in NS 7

2005-11-15 Thread Mark Henderson
Pardon the loss of formatting in my previous post. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message:

RE: CSS width in NS 7

2005-11-15 Thread Mark Henderson
Bryan wrote: snip I must have missed some details specific to my issue...but with what you both posted a made a hybrid that works for me (IE 6, Opera 7.54, NS 7). I'm obviously still learning CSS beyond basic text styles ;-) /snip Good to see you were able to work it out...oh, and it's pretty

Problem with relational tables

2005-11-14 Thread Mark Henderson
Small problem with relational tables and displaying the correct titles. Here's my problem. I have two tables in an access database (yes I know!). One called district_plan_documents, the other district_plan_section_headings. In the documents table there is a field called DP_catID (where 5 entries

RE: Problem with relational tables

2005-11-14 Thread Mark Henderson
Ian, I'd just pulled up SQL Query analyzer to see if I could get this to work as you replied, but now I'll be checking out the visual wizard as per your advice. I knew it had to with joins, but that was it. Your answer works perfectly btw, much appreciated. Mark

RE: Problem with relational tables

2005-11-14 Thread Mark Henderson
Thanks Matthieu, I'll have a play with your suggestion also (for educations sake, though it's working now with Ian's reply). Mark ~| Find out how CFTicket can increase your company's customer support efficiency by 100%

RE: Problem with relational tables

2005-11-14 Thread Mark Henderson
snipped a bit The visual wizard is pretty nice if you don't try to get TOO complex. One can drag the tables then drag the fields for the join then drag them for the select in the Design View. Once you have it all dialed in and returning the data you expect, then just switch to the SQL View and

Re: css again, gurus

2005-11-11 Thread Mark Henderson
If you want something that spans the *entire* width of the div, then once again things can get tricky, and you are probably going to need to float the list items. Display: inline will work if you are happy with a centered menu with padding on each of the items, as is the case with most of the

Re: css again, gurus

2005-11-10 Thread Mark Henderson
Ray I'd second that. Unordered lists are perfect for both vertical and horizontal menus. http://css.maxdesign.com.au/listamatic/ That should head you in the right direction. Mark ~| Discover CFTicket - The leading

Re: 100% height and css

2005-11-09 Thread Mark Henderson
The only bug I've ever heard of that requires 100.1% (or rather 100.01) is a font sizing issue in IE [1]. If you want an element to stretch 100% of the height of the viewport, then you would *think* your approach would do it.. div#fullheight { height: 100%; } This will work when the

SMS Pull Technology

2005-10-31 Thread Mark Henderson
Hi all We have a La Crosse weather station on one of our servers running CF5 and I am using Coldfusion to read from a generated text file (updated by the station every 30 minutes) and send sms messages to certain cell phone numbers. What I really want to be able to do is move from push to pull

RE: SMS Pull Technology

2005-10-31 Thread Mark Henderson
-Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 November 2005 9:41 a.m. To: CF-Talk Subject: RE: SMS Pull Technology If you can move to CFMX 7, and use the event gateways, they've got SMS support built in. The demos I've seen are pretty sweet. So

RE: OT: JS Calendar

2005-10-26 Thread Mark Henderson
Tony is right, but since you say it's already wrapped in a div called calendar, I would personally do this... div.calendar table {styles here} div.calendar table tr {styles here} div.calendar table td {styles here} Which means you can style your calendar table any way you like, while leaving the

CF5 Error Handler

2005-10-20 Thread Mark Henderson
I'm running the fusebox 4 core files on a CF5 server (can't upgrade sorry - already tried that path) and I have a problem with error handling. Has anyone out there successfully implemented an errorhandler plugin under such an environment? TIA Mark

RE: Another radio button problem

2005-09-15 Thread Mark Henderson
Thanks Bobby, I actually got it working using a slightly different approach, but your idea is simpler (and I knew there was a simpler way to get this working) Here's what I did. Inside the display cfoutput, I added 2 hidden fields input type=hidden name=deletionID#qryNoticeboard.currentrow#

Another radio button problem

2005-09-14 Thread Mark Henderson
I am having issues with a form that allows multiple deletes (or in this case simply changing the active db field to no) from a database using checkboxes. Hers the deal so far. The query to display all noticeboard items is... cfquery name = qryNoticeboard datasource = #request.dsn# SELECT

RE: Another radio button problem

2005-09-14 Thread Mark Henderson
Ty Mark and your last post does make sense. I will try that in a couple of hours when I have time to re-attack it. -Original Message- From: Mark Fuqua [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 September 2005 4:33 p.m. To: CF-Talk Subject: RE: Another radio button problem Sorry, real

RE: Small Problem with Query Duplicates

2005-09-12 Thread Mark Henderson
I have it sorted now I think, and it's the behaviour I expected Deanna - the duplicates (as in duplicate results) might have been misleading and is probably not the best term to describe this, in that I believe distinct IS working correctly, it just doesn't give me what I want. This problem comes

Small Problem with Query Duplicates

2005-09-11 Thread Mark Henderson
I have a query thats run from a user search request, that looks like so: cfquery name=searchFarmLinks dataSource=#request.dsn# SELECT URL, ID, Company, Category, Phone, Email, Paid_listing FROM nzfarming WHERE URL IS NOT NULL AND

Re: Small Problem with Query Duplicates

2005-09-11 Thread Mark Henderson
sorry, that should have read i.e in the query, SELECT DISTINCT URL, Company etc. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application

cfdirectory on CF5

2005-06-19 Thread Mark Henderson
I'm running a version 5 server and I have a few questions about cfdirectory. I have a documents folder, and underneath that folder are several subfolders (forms, pricelists, systems), each with a number of spreadsheets, docs, and pdf files in them. I'd like to crawl through each subfolder,

Appending variable names to CFSET

2005-06-13 Thread Mark Henderson
Quick question. Is it possible to take a predefined variable and add that as part of another variable name inside cfset. Here is my example. cfquery name = qryLinkMaster datasource = #request.dsn# SELECTlink_ID, name, url,

RE: Appending variable names to CFSET

2005-06-13 Thread Mark Henderson
Thanks Ricardo. I got it working and it wasn't the variable causing my trouble. If I do this: cfloop index=linkIndex list=Drivers,Security,Search,Partner,Admin Instead of this: cfset linkItems = Drivers,Security,Search,Partner,Admin / cfloop index=linkIndex list=linkItems It works. Go

  1   2   >