I play bagpipes in the Olympia Highlanders Pipes and Drums. We have a list of tunes that we play and I've put them on a page so that the other members can download them into a program that will interpret the code into playable notes.
My situation is that in Firefox only one tune "Flett From Flotta" will ask the user if the tune is to be opened in the program. All of the other tunes open as text files in the browser. However; in IE7 all of the tunes listed ask if the selected tune should be opened or saved.
In IE however, the main page is completely wrong, the menu links are supposed to go horizontal across the top of the page NOT vertically. The main page is written using CSS <div> statements.
The link to the tunes page is:
http://www.olympiahighlanders.org/ceilidh.html
The link to the main page is:
http://www.olympiahighlanders.org/
Can anyone please let me know how to correct these so that they work in both browsers?
Thank you;
Greg
(rhubarb)
My situation is that in Firefox only one tune "Flett From Flotta" will ask the user if the tune is to be opened in the program. All of the other tunes open as text files in the browser. However; in IE7 all of the tunes listed ask if the selected tune should be opened or saved.
In IE however, the main page is completely wrong, the menu links are supposed to go horizontal across the top of the page NOT vertically. The main page is written using CSS <div> statements.
The link to the tunes page is:
http://www.olympiahighlanders.org/ceilidh.html
The link to the main page is:
http://www.olympiahighlanders.org/
Can anyone please let me know how to correct these so that they work in both browsers?
Thank you;
Greg
(rhubarb)
Greg,
Actually, I get a text page even from "Flett From Flotta" and I am using Firefox 2.0.0.16.
I suggest you validate your page to get a list of errors that you have.
You are missing many closing anchor tags </a> and your <th></th> tags are outside of a <tr></tr>. Just remember that a <th> is doing the job of a <td> and need to follow the same rules for placement inside a row.
Thinking about this, it appears that the .bww files are actually text files. If you have the ability to use PHP on your website, I can give you a small php file that will force a download.
Let us know how you want to go with this.
Actually, I get a text page even from "Flett From Flotta" and I am using Firefox 2.0.0.16.
I suggest you validate your page to get a list of errors that you have.
You are missing many closing anchor tags </a> and your <th></th> tags are outside of a <tr></tr>. Just remember that a <th> is doing the job of a <td> and need to follow the same rules for placement inside a row.
Thinking about this, it appears that the .bww files are actually text files. If you have the ability to use PHP on your website, I can give you a small php file that will force a download.
Let us know how you want to go with this.
billr wrote:
Greg,
Actually, I get a text page even from "Flett From Flotta" and I am using Firefox 2.0.0.16.
I suggest you validate your page to get a list of errors that you have.
You are missing many closing anchor tags </a> and your <th></th> tags are outside of a <tr></tr>. Just remember that a <th> is doing the job of a <td> and need to follow the same rules for placement inside a row.
Thinking about this, it appears that the .bww files are actually text files. If you have the ability to use PHP on your website, I can give you a small php file that will force a download.
Let us know how you want to go with this.
Greg,
Actually, I get a text page even from "Flett From Flotta" and I am using Firefox 2.0.0.16.
I suggest you validate your page to get a list of errors that you have.
You are missing many closing anchor tags </a> and your <th></th> tags are outside of a <tr></tr>. Just remember that a <th> is doing the job of a <td> and need to follow the same rules for placement inside a row.
Thinking about this, it appears that the .bww files are actually text files. If you have the ability to use PHP on your website, I can give you a small php file that will force a download.
Let us know how you want to go with this.
Hi Bill;
I gotta stop updating web pages after 3:00AM!
I'm using FF 3.0.
You're right about the files, they are text files just with a different extension on them. What I'm looking for is a way to get IE and Firefox to open the application that is affiliated with these files.
I'm not sure about the PHP part, I'll have to check on that when I get home.
I've validated the page but can't upload it just yet (I'm at work behind a rather strong firewall and other security measures in place). I've also validated the index page and it is correct also, I just can't understand why the page forces the links across the top of the page to list vertically?
Greg
Greg,
For the main page menu issue, try giving wrapper2 a width and height. That may force IE to behave, but then again, it is IE.
Forcing a browser to open a file using a specific application may be problematic, but in some cases, you can force a download box to open. If your server has PHP installed, you can force the download options box to appear.
To find out if you have php, that this single bit of code:
<?php phpinfo(); ?>
save it as phpinfo.php, and upload it to your website. Now using your browser, enter the url for that file and if it gives you a bunch of PHP information, including the PHP version level, then we know you can use PHP.
For the main page menu issue, try giving wrapper2 a width and height. That may force IE to behave, but then again, it is IE.
Forcing a browser to open a file using a specific application may be problematic, but in some cases, you can force a download box to open. If your server has PHP installed, you can force the download options box to appear.
To find out if you have php, that this single bit of code:
<?php phpinfo(); ?>
save it as phpinfo.php, and upload it to your website. Now using your browser, enter the url for that file and if it gives you a bunch of PHP information, including the PHP version level, then we know you can use PHP.
Looks good to me! am I missing something?
http://kellyinfo.com/web/pipesIE7.jpg
http://kellyinfo.com/web/pipesMozilla.jpg
http://kellyinfo.com/web/pipesIE7.jpg
http://kellyinfo.com/web/pipesMozilla.jpg
billr wrote:
Greg,
For the main page menu issue, try giving wrapper2 a width and height. That may force IE to behave, but then again, it is IE.
Forcing a browser to open a file using a specific application may be problematic, but in some cases, you can force a download box to open. If your server has PHP installed, you can force the download options box to appear.
To find out if you have php, that this single bit of code:
<?php phpinfo(); ?>
save it as phpinfo.php, and upload it to your website. Now using your browser, enter the url for that file and if it gives you a bunch of PHP information, including the PHP version level, then we know you can use PHP.
Greg,
For the main page menu issue, try giving wrapper2 a width and height. That may force IE to behave, but then again, it is IE.
Forcing a browser to open a file using a specific application may be problematic, but in some cases, you can force a download box to open. If your server has PHP installed, you can force the download options box to appear.
To find out if you have php, that this single bit of code:
<?php phpinfo(); ?>
save it as phpinfo.php, and upload it to your website. Now using your browser, enter the url for that file and if it gives you a bunch of PHP information, including the PHP version level, then we know you can use PHP.
Well, that's confirmed ... I can use PHP. I got about four pages of info after following your instruction.
Now the next step.
Hi Bruce;
The problem doesn't show up unless you enter the index page with Internet Explorer. The navigation menu should be across the top of the page above the picture. The other "problem" is that the file listing in the members page displays the text file instead of displaying a 'Save' or 'Open With' option dialog box.
Greg
Greg,
Here is some code you can try to use.
Save that code as file.php and upload it in the same folder as all your matching file.bww files.
Then in your anchor code you would change the filename to file.php.
Here is an example using your code. Change the code on your page to read:
<td><a href="bprtunes/BasicFive/Amazing Grace.php">Amazing Grace</a></td>
And then have the php code use Amazing Grace.bww for the two file.bww names in the php code, and save the file as Amazing Grace.php
I hope I am explaining this clearly. If you have 20 .bww files, you will end up with 20 .php files that are the links on your page. When someone clicks on Amazing Grace, the link will run Amazing Grace.php and you will get a download window for Amazing Grace.bww
I also suggest that you rename all your .bww files to eliminate spaces. It may work most of the time, but there are times when it does not work properly to use filenames with spaces. Also using all lowercase will help.
Let me know if this works for you.
Here is some code you can try to use.
<?php
$filename = "file.bww";
header("Content-Length: " . filesize($filename));
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename=file.bww');
readfile($filename);
?>
$filename = "file.bww";
header("Content-Length: " . filesize($filename));
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename=file.bww');
readfile($filename);
?>
Save that code as file.php and upload it in the same folder as all your matching file.bww files.
Then in your anchor code you would change the filename to file.php.
Here is an example using your code. Change the code on your page to read:
<td><a href="bprtunes/BasicFive/Amazing Grace.php">Amazing Grace</a></td>
And then have the php code use Amazing Grace.bww for the two file.bww names in the php code, and save the file as Amazing Grace.php
I hope I am explaining this clearly. If you have 20 .bww files, you will end up with 20 .php files that are the links on your page. When someone clicks on Amazing Grace, the link will run Amazing Grace.php and you will get a download window for Amazing Grace.bww
I also suggest that you rename all your .bww files to eliminate spaces. It may work most of the time, but there are times when it does not work properly to use filenames with spaces. Also using all lowercase will help.
Let me know if this works for you.
Bruce wrote:
Looks good to me! am I missing something?
http://kellyinfo.com/web/pipesIE7.jpg
http://kellyinfo.com/web/pipesMozilla.jpg
Looks good to me! am I missing something?
http://kellyinfo.com/web/pipesIE7.jpg
http://kellyinfo.com/web/pipesMozilla.jpg
I don't know how to explain it but when I opened it in IE6 the navigation links were verticla and shifted to the left of the screen.
Greg
Greg,
I also see, the entire site shifts to the left with IE6 and the menu is vertical.
The menu is inside wrapper2. Have you tried setting wrapper2 to a width:100%; and then see if that helps?
I also see, the entire site shifts to the left with IE6 and the menu is vertical.
The menu is inside wrapper2. Have you tried setting wrapper2 to a width:100%; and then see if that helps?
billr wrote:
Greg,
I also see, the entire site shifts to the left with IE6 and the menu is vertical.
The menu is inside wrapper2. Have you tried setting wrapper2 to a width:100%; and then see if that helps?
Greg,
I also see, the entire site shifts to the left with IE6 and the menu is vertical.
The menu is inside wrapper2. Have you tried setting wrapper2 to a width:100%; and then see if that helps?
Thanks Bill, I'll try that out. I got some info from Melanie and I'm going to look at that also.
Greg
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.