|
Hi Abhishek,
Unfortunately still doesn't work for me.
Based on your comments I should be able to write from the tree.js file to my banner frame using the parent call. I have even tried the following:
parent.banner.document.write("Hello");
Which I know it will write the entire document, just as a test. Still won't write to it.
I also tried the second comment:
onclick="javascript:parent.banner.document.getElementById('yourspanid').innerHTML = folder.desc;";
And doesn't work for me.
The following are the changes I have done to try the code:
Added to the top frame the following code:
<td width="100%" height="58" align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#4FA600">
<span id="SpanDesc" style="background-color:#4FA600;font-family:verdana;color:white;font-size:20px"></span>
</td>
The main document clearly defines the frame name, as follow:
<frame name="banner" scrolling="no" noresize target="contents" src="Myheader.html">
That should provide me a good reference to reach from anywhere on the active html document.
I then added the code you mention to the "tree.js" file within the function that clicks the node on the tree view:
onclick="javascript:parent.banner.document.getElementById('SpanDesc').innerHTML = folder.desc;"
Since that didn't work, I tried to remove the onclick event, thinking that only applies to java scrpit within HTML, and tried the following:
parent.banner.document.getElementById('SpanDesc').innerHTML = folder.desc;
Which doesn't work neither.
The following is the function of the existing "tree.js" file that gets called every time the user clicks a node:
function propagateChangesInState(folder)
{
var i=0
if (folder.isOpen)
{
if (folder.nodeImg)
if (folder.isLastNode)
folder.nodeImg.src = "tree/ftv2mlastnode.gif"
else
folder.nodeImg.src = "tree/ftv2mnode.gif"
folder.iconImg.src = "tree/ftv2folderopen.gif"
for (i=0; i<folder.nChildren; i++)
folder.children[i].display()
}
else
{
if (folder.nodeImg)
if (folder.isLastNode)
folder.nodeImg.src = "tree/ftv2plastnode.gif"
else
folder.nodeImg.src = "tree/ftv2pnode.gif"
folder.iconImg.src = "tree/ftv2folderclosed.gif"
for (i=0; i<folder.nChildren; i++)
folder.children[i].hide()
}
window.status=(folder.desc);
}
I added the last entry on the file as a test, and it writes the descriptions to the IE status bar successfully.
Yet it won't write to my top frame...
Any ideas?
Thanks for your help.
Alain
|
|
|
|
|
how to display database pagewise?
|
|
|
|
|
This is basically a simplified version of a question you've asked twice. It's obvious you have no idea what you're doing. Why are you even using asp ? It's a lot harder than ASP.NET and it's clear you are no-where near experienced enough to write anything meaningful in it. If I were you, I'd contact your client and say you're dropping the job, or if it's for personal use, I'd find someone to pay to do it, because you're just plain not up to it. You post question after question, you never show any signs of having tried to do anything yourself, you don't respond to answers, you ask the same thing over and over, and you generally show every sign of being absolutely useless. Give up now, this is only going to end in disaster for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how to create a community and social networking site in asp
|
|
|
|
|
It's clear from your questions that you are utterly clueless about programming in every way. That's good in a way. However you heard about asp, it is out of date, by a long long shot. You should instead learn ASP.NET. The answer to your question is, buy a book on ASP.NET, a simple one, and work through it. They perhaps buy an intermediate book, or you could choose to buy a book on SQL and ADO.NET, as you will need to learn that too. Depending on the time you can give it, give at least 6 months before you can write something that will sort of work. If you're writing a site others will use, spend some time learning about site security and SQL injection also. Perhaps a year from now you will have written enough test projects, and worked through enough books that you can start your website, if you also rely on this site to ask *specific* questions to get you through the problems you'd still be bound to have in pulling something like this off.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
if(Error)
{
PostQuestionOnCodeProject();
}
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
This guy has to be the most clueless person I've ever seen here, and that's no mean feat.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how to develop programming logic ?
|
|
|
|
|
rajiv_kadam wrote: how to develop programming logic ?
By writing code. Did you have a specific question ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
How do I make s div tag semi-transparent in Firefox and Safari? It only seems to work in IE.
John
http://tagyurit.com
|
|
|
|
|
A lot of stuff is only supported in IE, because IE invents it's own standards, instead of following them.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have a .jsp page with four "tabs" on it. The tabs are hidden divs that are made visible with CSS through a javascript function.
Also on the .jsp page is a button that displays a pop up. This pop up is another div tag that is currently hidden. Creative use of javascript and CSS, I can pop up the div no probs, lower the opacity on the main page, etc.
The problem comes with that some of the main page div tags display Flash videos and the videos don't stop playing when the pop up comes up. Since there's also a flash video on the pop up, I get two sets of sound. I need the main page video to stop playing.
Originally, this was set up to stop playing through a function (stopVideo) that set all three main videos to false:
fo2.addParam("play","false");
fo2.write("product_tab2_content");
...
(fo is a "flash object" through an included .js file, product_tab2_content is the id of the div tag with the video)
This isn't working. The stopVideo function is called, but all it's currently doing is stopping the video and it restarts. If I don't call the stopVideo function, it just continues to play when the pop up div is displayed instead of restarting from the beginning.
Is there a way to stop the video when the pop up button is clicked? My current solution was to automatically force the main page back to the first tab which has no videos. When the tab visibility is hidden, the videos on them don't play. This isn't the ideal solution though, as I'd like to keep the main page on the content the user was viewing when they display the popup.
Seejay
|
|
|
|
|
Please does anyone know an easy-to-use and easy-to-customize javascipt component for showing menus on a site. Something like the one in codeproject site but also I want sub menus feature added to it.
Thanks in advance
|
|
|
|
|
Have you worked with asp:menu control. Its awesome.
|
|
|
|
|
For our work we need to insert 1500 or 2000 records in to sql server database. currently we handled in loop for example 1500 records means we do it loop with 1500 times. There is no thread. It gets too much delay and some timeout has been happened. we need an advice to do efficiently.
Thanks in advance!
Have A Nice Day!
Murali.M
Blog
|
|
|
|
|
Talking about the modern era and the boom in Technology, it is very difficult to think life without the Internet. The digital age has escorted awareness about the merits and advantages of Information Technology with the internet being the feature for providing information availability to anyone and everyone who so ever is using it.
Various Professional firms have got hold of the importance of online presence and brand image by having websites developed as per their requirements provided with the right technology partner.
The basic tips that one should always be aware of the points before selecting the right specialist to cater to your website requirements are mentioned below:
More than words, it’s the past works that reflect the vendor’s capability to undertake projects. In such cases testimonials and portfolio plays a major role. And that is the starting point.
One should always select a vendor who is having a long term experience to suit client needs in delivering web solutions. Every one wants to work with experienced person rather than the beginners. Now this is the place where Relevant Expertise works.
When talking about the good vendor, this means one who understands your requirements patiently and suggests you a solution that is feasible, thus ensuring clarity right from the onset.
• Quality or Price – Do not compromise quality for want of price reduction. A vendor who may bend down to a great extent on price to get your project may not deliver quality service.
A vendor, who can provide after sales maintenance and service, will be the perfect person for clients with long term requirements.
Value addition helps a lot, A vendor who can provide add-on solutions balancing to website development preferably SEO, Content Writing, Graphic Designing, would guarantee a comprehensive website solution.
Time delivery is the most important thing. Talking about Systematic Service Delivery, Adherence to a documented process and constant communication on project are the characteristic of professional website development companies.
All these above points will ensure that clients get a vendor who believes in fostering trust and goodwill and guarantee value based services. This is of utmost important to choose the right developing company who can understand and interpret your business goals and convert them into an effective and professional success identity.
|
|
|
|
|
What is the point of this ? It's not a question. It's not quite an ad. I have no idea what you're trying to say. I'll tell you the most important thing. Make sure you don't outsource to another country. you've won half the battle right there.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I thought I'd provide details to everyone about selecting the right web development company. but why do you think I shouldn't outsource services from other country? can you explain it please? Thanks in advance
Rohit Tripathi
Software services
|
|
|
|
|
This is not the forum for statements, but for technical questions.
rohittripathi wrote: but why do you think I shouldn't outsource services from other country?
Many of those of us who have had work outsourced to foreign countries, in particular to India, did not have a happy experience
|
|
|
|
|
rohittripathi wrote: I thought I'd provide details to everyone about selecting the right web development company
Yes, and I can see why :
rohittripathi wrote: Rohit Tripathi
Software services
You're trying to use this site to advertise your services.
rohittripathi wrote: can you explain it please? Thanks in advance
Let's review:
1 - instead of paying for an ad, you tried to use the forums
2 - you're too dumb to work out that your post is going to disappear in a few days, and that this forum is for questions
This only reinforces what I've learned from experience. Outsourcing, especially to a country like India or Pakistan, is to employ morons who don't listen to requirements, don't deliver what you asked for, don't deliver it on time, are incapable of writing code to a professional level, and basically cost you money. Reading the ASP.NET forum will give most people a good idea of the sort of people who are offering outsourcing services. Anyone dumb enough to hire people like that, deserve the failed project they will get. I always took the highest bid, to try to increase quality, and still ended up working evenings and weekends to meet deadlines because the people I hired failed me. And I was working WITH them, as a developer. I can only imagine the disaster the ensues if a non programmer outsources a project and sits back, expecting a result.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
that wasnt for link building , seems u r but nice reply
|
|
|
|
|
i have to fetch 100 rercords from database .
at a time only 10 records should be displayed?
i have hyperlink page1,page2,page3,page4.
when i click on hyperlink page1 then first 10 records should be displayed.
and when i click on hyperlink page 2 then it should show me the next 10 records .any body can tell me ?.
how to develop logic?
|
|
|
|
|
You're an idiot. You asked exactly this an hour before. You got an answer. Your post is still visible. All posting it again does, is make you look rude and ignorant. If you want a quicker answer, then pay someone to provide it, don't keep posting the same thing here over and over.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
how to move cookie value from https to http page? In my project, login page is in https.and page of after login is in http.here the i cant get cookie value.Is there any solution?Please help me.
|
|
|
|
|
I don't see any reason for there to be any problem, if you write a cookie, you name it, and then you reference it by it's name, right ? I've written https login pages that used cookies before without issues. What are you using to write this code ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|