• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: The JS is not being exectued [Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The JS is not being exectued [Solved]


  • Subject: Re: The JS is not being exectued [Solved]
  • From: Gustavo Pizano <email@hidden>
  • Date: Sat, 14 Feb 2009 20:55:23 +0100

Hello, I change the binding from inline to the normal one, I mean, instead of putting <wo: ..... /> I put <webobject: ..... >
and in the WOD I wrote the other stuff.:S :P

Gustavo
 
On 14.2.2009, at 20:12, Gustavo Pizano wrote:

Hello, I download some _javascript_ and CSS to make some rounded corners, Thy work in the examples I downloaded. 

Now, I import them into my project, I place them into the the WebServerResources folder, under a CSS and a JS folder respectively.

I used the follwoing  wo tags

<wo:ERXStyleSheet filename ="CSS/niftyCorners.css" framework="app" />
<wo:ERXStyleSheet filename ="CSS/NiftyLayout.css" framework = "app"/>
<wo:ERXJavaScript fileName = "JS/niftycube.js"/>

in the head tag I have this script  and style also, (this is because Im following the examples ).

<style type = "text/css">
body{
padding: 50px 0 0;background:#FFF;color:#111;
    font: 100.01%/1.3 Verdana,Arial,sans-serif;text-align:center;
    }
div#box{
width: 25em;padding: 30px  0;margin:0 auto;
    text-align:left;background: #9CC0FF url(gradient.png) repeat-x 0 -5px;
    }
h1{
font: lighter 200% "Trebuchet MS",Arial sans-serif;color: #303F6E;}
h1,p{margin:0 20px;
}
</style>
<script type = "text/_javascript_">
window. style="color: #800080">function(){
Nifty("div#box","transparent");
}
</script>
when I run the application I get no error that it could find any file,  in fact the gradient.png of the div#box I palce it under /library/webserver/documents , because it was telling me that it couldn't find it, after I place it there, it said nothing about it when running.

The problem is that the purpose of the JS (to make the corners rounded) its not being displayed... I dunno what can be wrong...

Thanks

Gustavo
 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >The JS is not being exectued (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: The JS is not being exectued
  • Next by Date: Re: Foreign keys and database operation ordering
  • Previous by thread: The JS is not being exectued
  • Next by thread: JDBC URL on a per session basis
  • Index(es):
    • Date
    • Thread