I understood that every top level container has some layers:
root pane
layer pane
content pane
glass pane
but I didn't understand if the root pane is the top level container itself...
I'm designing an image repository. I want to uncouple the filename from the image html link. For instance:
image in filesystem is called images/items/12543.jpg
HTML is <img src="images/car.jpg" />
Does anyone strongly discourages me to rewrite all image requests using PHP so when retrieving images/car.jpg, Apache really replies content from images/items/12543.jpg?
I don't know if I may get performance problems.
hi,
I selecting which fields to show in the Headers and in the Body of my nodes, in the "Manage Fields" settings of my content type.
However I would like to have different order for header elements and node elements.
Is this feasable ?
thanks
Hi,
actually i have 2 images ,when we click on one image it generates pop window containing n no of list. if i click on any link 2 parameters are passed to function one for url and other image path and now i have another image ,what i want to do is if i click on that image it will generate a list which has a content of first image after clicking any link of first image
means
if i click
image1 image2
1
2
3
now if i click 1 then result must be like this
image1 image2
1 1
2
3
Please help
thanks.
Hi,
I would like to know how can I embedd a code source file (if possible), something like that:
class X
{
include "ClassXsource"
}
My second question - Can I build DLL or something like that for my colleagues to use? I need them to be able to call methods from my "part" but do not modify or view their content. Basically just use namespace "MyNamespace" and call its methods, but I have never done anything like that.
Thanks
I'd like to know how to use XMLHttpRequest to load the content of a remote URL and have the HTML of the accessed site stored in a JS variable.
Say, if I wanted to load and alert() the HTML of http://foo.com/bar.php, how would I do that?
Hi Guys
I'm looking for a way to print / save flex graphs, preferably without changing the flex code.Is this possible to to from the client with some kind of JavaScript library.If I need to change the flex,is ALIVEPDF the way to go (converting content to pdf first) or are there simpler solutions to this.
Thanks
Hi,
is that possible to hide specific nodes in VirtualStringTree?
I'm implementing "filtering" feature (the VST acts as a list with columns), and I'd like to avoid reloading content each time the filter is changed - instead, much faster would be to tell VST not to render specific items ... any solutions?
This should be simple.
I'm making a very basic app, based on the Utility Application template of XCode.
On the flipside, I have more content than fits the screen.
The flipside is a UIView. I think it should be a UIScrollView, but somehow I don't get it to work.
Can anybody here advise me on this?
I've few excel sheets and i want to distribut them along with ap.
I want to create an application that open those excel sheets, allow user to modify the content and save the excel sheet as new file.
For that purpose, I think I can open excel sheets in UIWebView that allows editing as well.
But the trouble is, can I save edited Excel sheet in UIWebView back on to iPad?
If Possible, how?
We got "No Index Attribute" error when we try to indexing Oracla Portal from SharePoint Server 2007 Search crawler. The content source is added sucessfully. The error messages appeare in the crawler log.
I have two similar sites:
- two of them have almost exactly the same codes, and running on the same server
- both sites are the same, they just use different language.
- database of the slower site is populated (maybe only the user table) the other tables for site content is the same
- the faster uses root to access database
one of the sites is not released yet, so it uses IP Address to access the site instead of domain name
the site that is using IP address is faster (lot faster)
the site that is using domain name is slower
do you know why is this happening what could be the reason?
I have this code
$("body").on({
click: function(event){
event.preventDefault();
var aLink = $(this).attr("href");
$("#content").load(aLink+" #loader", function(){
//Callback here
});
$("#crumbbar").load(aLink+' .breadcrumbs', function(){
//Callback here
});
}
}, "a");
Can this be optimized in such a way that I only have 1 load command?
I want to get the offset of one term in the Lucene . How can i get it ?
I vectored my content as
Field.TermVector.WITH_POSITIONS_OFFSETS
Is there any method in Lucene that give me offset of the term in one Document ?
I'm using imagefill() for changing the background color if an image.But while doing so the other areas which are not to be affected, change its color to black.
$image = imagecreatefrompng("sample.png");
$background = imagecolorallocate($image, 255, 0,0);
imagefill($image, 0,0, $background);
header("content-type: image/png");
imagepng($image,"sample.png");
This is my code.Can anyone tell me how this is happening ?
Hi,
I am trying to send a file through a java socket and receive it through another. However, this happens:
Send Content:
/*
This is simply a file to transfer
*/
Received:
¨Ì
Just to confirm what I think I understand from reading about use of google APIs in RIAs (FLEX 4 and ActionScript) there is no way to connect to blogger API for example, directly from RIA because of google's crossdomain.xml file, right?
So if I want to use their APIs to get some data like content of my mailbox or list of posts on my blog I have to have some code running server side and RIA would just use that code as httpservice to collect data from google?
Or maybe I got it completly wrong?
Datagrid is in content,When trying to access client side function for the cells in the datagrid,its always showing at 0 position
suppose i have 10 rows,for each row "Test button" i should invoke the client side java script.
For each row "Test button" client side script is displaying message at first row only.
I have a view in Drupal that filters my content. It brings back 7 rows. All I want to return is the number or results returned(7). Is this possible?
I tried using the View result counter but it returns a number for each results
1
2
3
4
5
6
7
I just need the 7 part.
So in SQL I would do a select count(*)
I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
Everything works as expected but I would like to improve the directory structure that the .zip produces.
When I create a deployment package I have it create in a custom directory which works fine but the .zip it creates is in the structure of:
content/c_c/users/pcName/documents/VS2010/Projects/ProjectName/obj/release/package/packageTmp
Only in the packageTmp directory do I get to the files I want!
Is there a way for the created zip to not include all of those empty directories?
I basicly need to load the whole XML file, add a new line with content and then saving it. But I wondered which one is faster.. XMLWriter or SimpleXML? Oh, and, it's mainly large XML files, more then 10MB.
Thanks!
Hi,
I'm trying to make wysiwyg editor with content editable divs and I'm inserting html with document.execCommand('insertHTML', false, html); but the problem is, when i insert link, and then i want to write after it continues to write INSIDE that link.
EXAMPLE:
how it does now:
Hello, stackoverflow.com MyTextAfterLink
how it should be:
Hello, stackoverflow.com MyTextAfterLink
How could i fix this? Thanks.
I know this question may well be the silliest question you've herd today, but to me it is a big question at this stage of my programming learning.
Why is the second empty line needed in this Python code? What does that line do?
print 'Content-Type: text/plain'
print ''
print 'Hello, world!'