Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Block, image style filter alpha (opacity=22) will be deleted
  • Posted: 29.08.2003, 11:55
     
    Vincent
    rank:
    Freshman Freshman
    registered:
     May 2002
    Status:
    offline
    last visit:
    25.10.04
    Posts:
    14
    Hi all

    I want to insert a image withe a alpha fade in in core/html block. After i save the block the style="filter:alpha(opacity=22)" will be deleted from PostNuke :( :( :(
    Here is my CODE:

    Code

    <CENTER>
    <img src="webcam/cam.jpg" name="quickImage" width="128" height="96" style="filter:alpha(opacity=22)" onMouseOver="nereidFade(this,200,30,6)" onMouseOut="nereidFade(this,25,25,6)">
    <A HREF="index.php" ONCLICK="OpenWebcam('webcam.html')">open Satelite Window</A><BR>
    </CENTER>


    I'm using PostNuke Phoenix 0.7.2.3 (and i think this works on phoenix 0.7.1.3). the image tag is enabled with parameters.

    thanks my somebody can help me ???
    Vincent
  • Posted: 29.08.2003, 13:04
     
    tudorbob
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    19.08.06
    Posts:
    480
    why not put a class for the image in the style.css for the theme you are using and then call it in the block?

    --
    http://brianhouston.com
    http://citychurchbelfast.org
    http://ywamni.com
    http://god-life.com
    http://lucyoman.co.uk
  • Posted: 29.08.2003, 14:40
     
    Vincent
    rank:
    Freshman Freshman
    registered:
     May 2002
    Status:
    offline
    last visit:
    25.10.04
    Posts:
    14

    tudorbob

    why not put a class for the image in the style.css for the theme you are using and then call it in the block?

    Please give me an example i don't know exactly what you mean ..
    thanks Vincent
  • Posted: 29.08.2003, 15:27
     
    tudorbob
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    19.08.06
    Posts:
    480
    each themes style is controlled by a style sheet in the theme directory called style.css and styleNN.css - why not dit thosze and place in them filter:alpha(opacity=22) in it. -
    then in this place the class name


    --
    http://brianhouston.com
    http://citychurchbelfast.org
    http://ywamni.com
    http://god-life.com
    http://lucyoman.co.uk
  • Posted: 30.08.2003, 11:20
     
    Vincent
    rank:
    Freshman Freshman
    registered:
     May 2002
    Status:
    offline
    last visit:
    25.10.04
    Posts:
    14

    tudorbob

    each themes style is controlled by a style sheet in the theme directory called style.css and styleNN.css - why not dit thosze and place in them filter:alpha(opacity=22) in it. -
    then in this place the class name

    I try but my knowlage about CSS Style sheets isn't so good

    in my themes style.css i add

    .pn.fade {
    filter:alpha(opacity=22)
    }

    the link in my Block:
    <center>
    PN-fade" src="http://www.steffek.de/_webcam/webcam_09.jpg" name="quickImage" width="128" height="96" nereidFade(this,200,30,6)" onMouseOut="nereidFade(this,25,25,6)">
    open Satelite Window

    </center>

    but there this stil doesn't work
    Sorry need more help
    Vincent
    See the error at http://www.steffek.de
  • Posted: 30.08.2003, 12:23
     
    tudorbob
    rank:
    Helper Helper
    registered:
     December 1969
    Status:
    offline
    last visit:
    19.08.06
    Posts:
    480
    sorry i have been making you run arround for nothing - just tested the CSS in an HTML block of my own - the style="filter:alpha(opacity=22)" works fine without editing the style.css - there seems to be a problem with your javascript though. check this out

    --
    http://brianhouston.com
    http://citychurchbelfast.org
    http://ywamni.com
    http://god-life.com
    http://lucyoman.co.uk
  • Posted: 31.08.2003, 22:58
     
    Vincent
    rank:
    Freshman Freshman
    registered:
     May 2002
    Status:
    offline
    last visit:
    25.10.04
    Posts:
    14
    in my old PostNuke versions everything works fine i have the same java class THE PROBLEM IS THAT POSTNUK ERASE THE STYLE= option in a IMG tag !!!

    I think is a problem about core /html block not about java etc write this in a block save it and look again the STYLE option will be gone ... [look at: style="filter:alpha(opacity=22)" ]
    [PostNuke Phoenix 0.7.2.3]

    ----- POST THIS IN A CORE/HTML BLOCK ------
    <center>

    open Satelite Window

    </center>
    ----- POST THIS IN A CORE/HTML BLOCK ------
    if it works in the newest PostNuke relase i will update my website please give me a hint
    Vincent
  • Posted: 01.09.2003, 06:22
     
    Ulujain.org
    rank:
    Softmore Softmore
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.01.04
    Posts:
    71
    From my understanding, this is part of the anti-hack feature in PN. It erases it to prevent cross-site scripting hacks.

    --
    http://www.ulujain.org/
  • Posted: 01.09.2003, 23:11
     
    Vincent
    rank:
    Freshman Freshman
    registered:
     May 2002
    Status:
    offline
    last visit:
    25.10.04
    Posts:
    14

    Ulujain.org

    From my understanding, this is part of the anti-hack feature in PN. It erases it to prevent cross-site scripting hacks.

    Shure where can I get more information about it ??? the alpha blending is a realy cool effect ...
    Vincent

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula