I started with a site on a Windows Server 2008 Standard Edition, SQL Server 2008 Standard, and SharePoint 2007 Enterprise edition system. When I map the site via network drive onto my computer and opened up the various folders in the attachments folder of a list, I do not have any errors. I map...
A quick follow-up question to this, just because we are having minor issues with the drop down list.
I want to add a 'Go' button next to the drop down list, so the page does not change until that button is pressed. What do I need to change in the JS code to make that function properly?
Shoot, I spoke too soon. It is now not recognizing the first page (index.html) in the dropdown or when I click on the home button. And when I try to go past page 5, it gives an error message. Does that issue have to do with the last part of the JS file?
One last thing while I am thinking about it - if I wanted the dropdown to be displayed, but I do not want it to be able to be used (viewable but cannot use), how would that be accomplished in the code? There are times when we want the user to go through each page without being able to skip...
Sweet, it finally works. . . except that everytime I go to a new page, a pop up window pops up telling me which page I am on (0, 1, 2, 3, 4). Where in the code is it saying to display a pop up window?
By the way, I really, really appreciate your help on this.
So should my HTML code look like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Mr EJT</title>
<link href="t1.css" rel="stylesheet"...
Perhaps I am missing something. The code you provided - does that all get added into my current JS? Do I keep the function move_selected(direct,menuform), and add everything else you provided above that?
I have tested this out, and nothing changes. The dropdown does not move past First, even...
I will make this question short -
I have 10 HTML pages labeled 01, 02, 03, etc. Those 10 pages make up a computer based training module, so the user needs to begin with page 01, and move forward with each new page by pressing a forward button (think of it as reading a book from beginning to...
Your right. I had something off in my code as opposed to what I posted on here. It works.
Ok, one last question and I will be done for now (and feel free to point me to a website that will explain this if it is too much to describe on here). The JS piece outside of the iframe - the drop down...
I did not mention an iframe before because I was trying to tie it all into one html file. However, I had someone suggest that it might be easier in the long run to do it as an iframe, so after some testing and discussion, this is the viable solution.
I tested it out, and it works really well...
I wanted to explore this again for a moment, cause I think I can get this to work with my limited knowledge of JavaScript if someone could just help me tweak the code.
This is what I have for my JS code right now (the file is titled as test.js):
function menu_goto( menuform )
{
var baseurl =...
Yeah, I think you are right. Perhaps it is time to go back to the drawing board and try to learn JavaScript the old fashioned way - starting at the beginning and reading through a book.
Thanks for your help though. Hopefully in the future I can figure this out so it will work for what I need.
So if I am placing the JavaScript file (called test.js) into my HTML file like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled...
I made updates to the JS piece, and inserted it into the HTML file. The dropdown works, but the forward and back button do not. They all end up going back to page 1. What is in the JS that is not correct?
// JavaScript Document
function menu_goto( menuform )
{
var baseurl = '' ...
I appreciate all the info. I am currently working through this to see how it will work (hoping I can get it to work). If I have any other issues or questions, I will let you know. Thank you.
Is the example you provided all JavaScript? How would I code and display it in the HTML file?
I have been struggling in understanding JavaScript, so I do not quite understand everything you are talking about (getElementById, onChange event, selected index, etc), but I have been reading up on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.