body

Oracle 9i: Synonymed Table Does Not Exist?

I've created a package that contains a stored procedure that I plan to invoke from a separate application. The stored procedure will return a sorted list of all the views and tables in the schema. To do that, it performs a simple select on the DBA_TABLES and DBA_VIEWS synonyms, as shown below: CREATE OR REPLACE PACKAGE BODY TITAN_ENTITY...

jquery slider to change body background

I want to include a mini menu 20px by 20px images of potential backgrounds. When a user clicks on one them the body background image will change and the selection saved as the users choice. I've thought of using a slider but I don't know how I would be able to have the images in a li and be able to change the body css based on the selec...

Auto-sizing body background image to browser window?

i have a jquery script that allows for changing the body background i want to have the background image of the body scaled to the browser window size there is a script called http://www.buildinternet.com/project/supersized/ but i am not able to make use of the scaling from that script because it effects the class img not the background...

Attach a body onload event with JS

How do I attach a body onload event with JS in a cross browser way? As simple as this? document.body.onload = function(){ alert("LOADED!"); } ...

Wicket: how to use the BodyTagAttributeModifier class?

i'm trying to dynamically add the class attribute to the body tag, and i came across this class. but i can't seem to understand how to use this class. i have something like this in my page class (or panel class, as i tried with that too): add(new BodyTagAttributeModifier("class", "homepage", this)); this doesn't even compile, saying t...

Changing Body Font-Size based on Font-Family with jQuery

Hi there, I'm trying to use Myriad Pro as my primary font with Arial and such as a fall-back like so: font: 13px "Myriad Pro", "Helvetica", "Arial", "sans-serif"; I want to change the font-size when Arial or Helvetica are selected. This is what I have in jQuery but it does not work: $(function(){ if ($("body").css("font") == "Aria...

Understanding a sentence about starting up jQuery

What is the definition of entire page in the following line? When the entire page is included via PHP include() or require() function, make sure to put that script code inside the <body> tag and not inside the <head>, because calling jQuery script file from inside the tag doesn't work for some reason. I have had proble...

how to refer a textbox inside body of html page in a javascript if textbox is not part of any form?

i have coded a header file which contains a input textbox for search.this header is include in body tag of a jsp page as shown below. <body> <include src="header.ssi"> <form> </form> onclick of button i header file i am running a javascript function. i need to refer to this textbox in javascript function. ...

Flex: Send HTTP POST request with binary data in body

Hi everyone, I'm new to Flex and couldn't figure out yet how to send binary data to the server as the body of a POST request. The HTTPService component doesn't seem to support this. The FileReference doesn't seem to support setting the data via the Flex API. Unfortunately the answers to similar questions on stackoverflow.com haven't be...

WordPress: How can I add extra classes via variables when using body_class()?

Hi, I am trying to add some dynamically (based on the URI) created class names into the standard body_class() statement. The wordpress codex mentions to put the class into the brackets while using the body_class('add-class-here') however I have 2 variables that I need to echo out inside the body class="" so I tried doing it as follows...

What are the issue with putting markup outside <body> ?

I have a bookmarklet storing a lot of DOM data, but I would love to avoid to put them out of the body tag so the script in the page won't mess with it. Semantic value is not an issue for once, but I would like to know : will it trigger some browser behaviour ? will it still be accessible in the DOM ? can I display it using absolute po...

how to fix a document.body is null-error

Hi, I'm having a document.body is null error in my javascript because I use: $(window).width() as value to assign to a variable in my $(document).ready(function(){}); I would be very grateful to anyone who could help me with this. Kind regards edit: sorry if this all was unclear. I have a demo at: http://www.wpmonk.com/demo/...

local host network monitor and httpservlet request

I have two Tomcat servers on my machine that communicate with one another. 1) Can someone recommend on a good (free) network sniffer so I'll be able to monitor the requests/ response that being sent between them? 2) How can I inspect the request in java code? to see what the header and the body consists and their structures? thanks a...

set body id to current file name in .net

I am not a .Net guy but trying to get update an existing .net site. Trying to set up a unique id for the body tag even though I am using a master page. <body id="<% page_name %>"> Obviously the above example doesn't work but not quite sure if there is a function that returns the file name that can be easily added to the masterpage so ...

Prevent IllegalStateException when reading from request

I have an interceptor for catching Exceptions and sending emails of this exceptions. All my struts actions extend CoreController which implements SerlvetRequestAware. In mail service class then I have: CoreController cc = (CoreController)invocation.getAction(); HttpServletRequest request = cc.getRequest(); I want to insert request b...

CSS Stylesheet Problem

I'm having a problem getting my CSS to work properly in Safari. It was working fine before, but I had to change the file to .php from .css for an unrelated reason. Before, the background would be the dark gray (#CCCCCC) but it appears that the first body{} doesn't apply anymore according to Safari's Web Inspector. Why could this be happe...

css columns shrinking 100% pixel value

Hi, I have a page which is divided up into 3 divs, left center and right. I don't want to display anything in the left and right, they just frame the page. #leftDiv { background-color: Gray; width: 10%; left: 0px; top: 0px; position: absolute; height: 100%; } #rightDiv { background-color: Gray; h...

BODY tag disappear when using Jquery.Load()

Im trying to make a pop-up like window using jquery and its modal box. First I load the content from a html file: $("#test").load("test.htm"); Then I load the popup: $("#test").dialog("open"); This works like it should, the content of test.html is injectet into the modal pop-up. There is only one think that is wrong, and that is th...

window.onload/onunload and <body onload/onunload >

I have read the thread window.onload vs <body onload=""/>. In that thread, many claim that window.onload and body onload="" are identical. This is not what I experience. Consider the two test pages: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="...

IMAP - javax.mail. - Fetching Only Body Without Attachment

Hi, I am trying to develop an IMAP email client using the javax.mail API. I have been able to contact the servers, fetch emails, attachments and other operations without any problem. However, we would not want to fetch the attachment until the user wants to view it explit in order to improve the performance. This would mean that we wou...