[ic] HELP in JAVASCRIPT POP UP

Fajar Handika interchange-users@interchange.redhat.com
Fri Mar 29 20:29:01 2002


-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com] On Behalf Of J.
Pla
Sent: Thursday, March 28, 2002 4:26 PM
To: interchange-users@interchange.redhat.com
Subject: Re: [ic] HELP in JAVASCRIPT POP UP

Hi, this d'ont work !!

I can't see the hand picture of the mouse when i pass troghout image !
Why ?

-You must ensure that you have the large version of your item image,
placed on your image_large field on the products.txt (assume that you're
using internal database)


My actual code in my flypage.htm is:
--------------------------------------------------
   [if-item-field image]
     <IMG SRC="items/[item-field image]" ALT="[item-filter
entities][item-description][/item-filter]" title="[item-filter
entities][item-description][/item-filter]" BORDER=0>
    [/if-item-field]
-----------------------------------------------------
Yo said that i must change for this ¿ no?:
-----------------------------------------------------
[if-item-field image]

[if-item-field image_large]
<a href="javascript ('[area flypage2 [item-code]]')">
[/if-item-field]
<img SRC="items/[item-field image]" ALT="[item-filter
entities][item-description][/item-filter]" title="[item-filter
entities][item-description][/item-filter] - Click to enlarge"
BORDER=0></a>

[/if-item-field]


- The [if-item-field] tag explained why the image isn't clickable when
there's no record in image_large field on your products.txt


code above to make the image on the flypage clickable
----------------------------------------------------------

And in my templates/leftonly i have this code:
-----------------------------------------------------------
[comment]
ui_template: Yes
ui_template_name: leftonly
ui_template_version: 4.7.3
ui_template_layout: LEFTONLY_TOP, UI_CONTENT, LEFTONLY_BOTTOM
ui_template_description: Page with top/left areas.

page_title:
 description: Page title

members_only:
 options: 1=Yes,=No*
 widget: radio
 description: Members only

[/comment]
[set page_title][set]
[set members_only][set]
----------------------------------------
Where must i insert the code ?

Here ? or in my templates/default/regions/ leftonly_bottom  and
leftonly_top
files ?

-Just insert it from your admin ui in the content, inside the body of
your html. I'm using 4.8.3, but I think it'll work in 4.7.3 as well.

And i created a flypage2.htm in the same directory that is located
flypage.htm and i only has put the content below that you give me for
the
flypage2.htm ? Is necessary more code for this page ?


My flypage2.htm contents:

[fly-list code="[data session arg]"]
<html>
<head>
__THEME_CSS__
<title>[item-description]</title>
</head>
<body>
<img SRC="items/[item-field image_large]" ALT="[item-filter
entities][item-description][/item-filter]" title="[item-filter
entities][item-description][/item-filter]" BORDER=0></a>
<div align="center"><a href="javascript:self.window.close()">close
window</a></div>
</body>
</html>
[/fly-list]
-----------------------------------------------------

-Nope. I think that's enough. But funny thing will happen if you open
the page using admin ui. Use text editor such as pico/vi.

Thank's in advance!!

-You welcome. I'm also a newbie actually.

Best regard's

----- Original Message -----
From: <undee@unmaddigital.com>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, March 28, 2002 4:10 PM
Subject: Re: [ic] HELP in JAVASCRIPT POP UP


> Take a look at
> http://www.interchangeville.com/forum/viewthread.php?tid=305
>
> There I explain what I have done in my site, exactly like
> what you want.
>
> -undee-
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users