prem
Senior Member
Posts: 109
|
Post by prem on Sept 14, 2014 19:37:28 GMT
I hope I am not missing something here. Originally I used antennas hover to show the second picture and click to show the third picture as our header picture for all pages.
Since reading up about amazing slider and giving that a try. Also tried CSS slider, of which both worked very well apart from one thing. If you use subdirectories as I do to make maintaining pages easier as in my "archived pages" and "members pages". The pages in these directories have to have their path's manually updated in the HTML code. Antenna does not automatically add the correct path. If using antennas own method of hover for second picture and click for third picture, then the pages in those directories are automatically updated. This means the website has to be exported to a folder and the pages individually updated and then manually uploaded to the website with the possibility of leftover files and or mistakes being made. I real pain in the neck. The website is,< hhasoc.org.uk >
I wonder if this can be corrected in a future update.
Prem.
|
|
|
Post by Frank on Sept 14, 2014 20:16:58 GMT
I can't really image it being able to be addressed. You are adding a third-party script that Antenna has no control over. When you save the Amazing slider files you need to save them using the structure you used in Antenna. If in Antenna you have them two folders deep.. you need to build those two folder out side.. and when you go to save FROM Amazing Slider, save them to the TWO folders deep set up... that way Amazing Sliders scripted code can be dropped into Antenna without doing it manually.
If the root structure in Antenna is: Amazing/Sub-amazing/ then you need to save the Amazing files in the same format.. Amazing/sub-amazing/ on your pc
Or I think Amazing Slider can actually upload to the exact place you need and generate the correct script to add to Antenna.
Hope this helps. Frank
|
|
prem
Senior Member
Posts: 109
|
Post by prem on Sept 19, 2014 18:46:25 GMT
Hi Frank,
Thank you for your help once again. Sorry for the long delay in replying to this, but I had still been experimenting with the hope that I might find an answer. I did finally decide to stick with CSS slider. They both gave the same results in the method that I used to display them at the top of each page.
Basically, what I did was to open up a visual HTML at the top of the page, in the site.theme. I then took the necessary CSS slider HTML code and added the header part of the code to the header of the visual HTML and the body part to the body part of the visual HTML. As laid out below.
Header part: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Untitled Web Page</title> <meta name="generator" content="Antenna 4.8"> <meta http-equiv="imagetoolbar" content="no"> <link rel="stylesheet" type="text/css" href="antenna.css" id="css"> <style type="text/css">.abs {position:absolute}</style> <script type="text/javascript" src="antenna/auto.js"></script> <title>header</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="header created with cssSlider, a free wizard program that helps you easily generate beautiful web slideshow" /> </head> The first three lines and the last line were deleted.
Body part: <body class="global" style="background-color:transparent;"> <div id="lays640npomk"> <div id="vhtm640dauxi" class="hid abs" style="left:125px; top:0px; width:750px; height:200px; background-color:transparent;"> <!-- Start cssSlider.com --> <link rel="stylesheet" href="engine1/style.css"> <!--[if IE]><link rel="stylesheet" href="engine1/ie.css"><![endif]--> <!--[if lte IE 9]><script type="text/javascript" src="engine1/ie.js"></script><![endif]-->
<div class='csslider1 autoplay '> <input name="cs_anchor1" id='cs_slide1_0' type="radio" class='cs_anchor slide' autocomplete="off"> <input name="cs_anchor1" id='cs_slide1_1' type="radio" class='cs_anchor slide' autocomplete="off"> <input name="cs_anchor1" id='cs_slide1_2' type="radio" class='cs_anchor slide' autocomplete="off"> <input name="cs_anchor1" id='cs_play1' type="radio" class='cs_anchor' checked autocomplete="off"> <input name="cs_anchor1" id='cs_pause1_0' type="radio" class='cs_anchor pause' autocomplete="off"> <input name="cs_anchor1" id='cs_pause1_1' type="radio" class='cs_anchor pause' autocomplete="off"> <input name="cs_anchor1" id='cs_pause1_2' type="radio" class='cs_anchor pause' autocomplete="off"> <ul> <div style="width: 100%; visibility: hidden; font-size: 0px; line-height: 0;"> <img src="images/websiteheader4.jpg" style="width: 100%;"> </div> <li class='num0 img'> <img src='images/websiteheader4.jpg' alt='websiteheader4' title='websiteheader4' /> </li> <li class='num1 img'> <img src='images/websiteheader2.jpg' alt='websiteheader2' title='websiteheader2' /> </li> <li class='num2 img'> <img src='images/websiteheader3.jpg' alt='websiteheader3' title='websiteheader3' /> </li> </ul> <a class="cs_lnk" href="http://cssslider.com">image slider</a> </div> <!-- End cssSlider.com --> </div> </div> </body></html> The first line and the last line was also deleted.
What I am now doing is exporting the website to a backup directory which gives me the directory tree on the actual website, any new files that are now in the subdirectories. I am then updating the HTML code and saving them to my backup original directory. I then delete the two subdirectories off the website that have the incorrect files in them and replace them with my backup originals.
The particular lines that I am having to update manually begin with: <img src='images/websiteheader4.jpg' alt='websiteheader4' title='websiteheader4' />
The difference being: <img src='../images/websiteheader4.jpg' alt='websiteheader4' title='websiteheader4' />
In my case, there are four lines that need updating the same as above. I must admit I thought antenna should be capable of updating these lines as needed. It certainly does this for antennas own (mouse over for first image and click for third image).
This then means that the header is seen on every page. A bit long winded but it's working at the moment. Also, sorry that this is a long explanation. Hopefully this is helpful and perhaps Julian could include antennas own slider in a future update.
Best regards to all.
Prem.
|
|
|
Post by Frank on Sept 19, 2014 20:01:34 GMT
I'm hoping for a Antenna slider as well. Glad you got a workaround. css slider.. is that the free for now, if so I've tried it,it's nice. Any minute now I feel they'll start charging. Frank
|
|
|
Post by Frank on Sept 19, 2014 20:02:16 GMT
I'm hoping for a Antenna slider as well. Glad you got a workaround. css slider.. is that the free for now, if so I've tried it,it's nice. Any minute now I feel they'll start charging. Frank
|
|
prem
Senior Member
Posts: 109
|
Post by prem on Sept 19, 2014 22:14:18 GMT
Yes Frank. Although they are now showing a price of £40 plus for the version that removes the advertising. A bit expensive for something that I would probably only use once. It does seem to have some rough edges in it still.
Prem
|
|