Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:59:04 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: javascript popup image  (Read 1135 times)
stinkywinky

Offline Offline

Posts: 11


« on: February 22, 2007, 03:01:26 PM »

On my page theres some text and a small picture. My goal is to show a bigger version of the picture when somebody clicks on the small image. Solution is a piece of javascript, for example:

<a onClick="window.open(this.href,'Welcome','resizable=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=819,height=614,status'); return false" href="location of the big picture"><img height="165" width="165" align="right" border="0" alt="" src="location of the small image" /></a>

The problem is that when i add a small piece of javascript in HTMLAREA, it automatically adds
the following piece of code

------
function anonymous()
{}
------

At the moment i am using WB 2.6.5.
Correct me if i am wrong, but in older versions i was able to use javascript without this problem.

Is it possible to alter HTMLarea to not add the above code?

FCKeditor is not an option, because this editor keeps giving me Internal Server Errors.

Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: February 22, 2007, 04:33:11 PM »

Hello,

Quote
My goal is to show a bigger version of the picture when somebody clicks on the small image

why not simply set a link to the bigger image on the small image?

Quote
FCKeditor is not an option, because this editor keeps giving me Internal Server Errors.

Wich errors and did you tried the latest version (2.71) because we changed the integration.

Matthias
Logged
Lonesome Walker

Offline Offline

Posts: 274



WWW
« Reply #2 on: February 22, 2007, 07:44:32 PM »

I got a solution especially for this.

If you're interested, contact me.
Logged

opensource company Websitebaker Templates Werbeartikel aller Art Websitebaker Hosting
babsy

Offline Offline

Posts: 322


« Reply #3 on: December 10, 2007, 08:16:06 AM »

i have the same problem..... i have just made a link to the picture... so it shows up big....
but i don´t want the "pop up" page to be so big, i want it to as big as the pictures inside?Huh

how can i do this...
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!