Updated: 12/6/06; 8:20:00 AM.
Fluid Flow
Info about Antidunes, San Jose Neighborhoods, plus some Frontier/Radio scripting.
        

Saturday, January 19, 2002

Something interesting to note about the radio.macros.imageRef is that it is much simpler than the standard Frontier imageRef macro. The Frontier macro can take 19 different parameters compared to radio version which only takes 5.

Most of the parameters in the Frontier macro allow you to specify different attributes in the image tag (things like alt, style, class, lowsrc, name, etc). With the Radio macro you can only specify usemap, align, hspace, and vspace.

If you need other attributes, you can use the following trick. Include the attribute and its value in one of existing the parameters. For example:

<%radio.macros.imageRef("/images/editButton.gif",vspace:"\" alt=\"Edit Item")%>  (Note the two escaped quote marks)

will produce:

<img src="file:///filePath/images/editbutton.gif" border="0" width="21" height="10" vspace="" alt="Edit Item">
11:37:44 PM    
Comment []

Ok, I will try out a new title for the site. It should cover the main ideas I write about, while allow me to be a little more fluid if I need to be.
9:36:34 PM    
Comment []

Turning off mirroring and posting the last item fixed the error on my home page. I probably should have copied the error message so we could figure out where the problem was.

I also want to look into the mirroring code. I want to be able to only mirror messages going to specific categories, not every message that I post. Ideally, I could post to different sites, based on the category.
5:33:45 PM    
Comment []


I am not sure what happened with the mirroring, but when I posted the last item. The two previous items were mirrored to cliftons.editThisPage.com and a macro error was generated on my home page.
5:28:38 PM    
Comment []

I am trying to figure out a good name for this site. I couldn't handle the default, so I tried this question. It doesn't work for me either.

If you are seeing this on cliftons.editThisPage.com and wondering what this is about. I am playing with some new software, that makes it easy to post items to the site. Check out radio.userland.com for more info.
3:09:03 PM    
Comment []


Steven Vore pointed me in the direction of radio.macros.imageRef() to get around the problem of needing fully qualified urls for images.

I kind of figured that the macro was there somewhere, since I have been using imageRef since Frontier 4. But I couldn't find it in the help pages.

I should have widened my search a little. Here is a story on the radio site that talks about using the imageRef macro.
9:12:59 AM    
Comment []


© Copyright 2002-2006 Tom Clifton.
 
January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Dec   Feb


Click here to visit the Radio UserLand website.

Subscribe to "Fluid Flow" in Radio UserLand.
Click to see the XML version of this web page.