Remove the RewriteRule from the .htaccess file , then put
<script>
var my_domain='marainlaw.com'
if (location.protocol == 'http:' && document.URL.substring(document.URL.indexOf(my_domain),...
Type: Posts; User: molendijk; Keyword(s):
Remove the RewriteRule from the .htaccess file , then put
<script>
var my_domain='marainlaw.com'
if (location.protocol == 'http:' && document.URL.substring(document.URL.indexOf(my_domain),...
See this.
You could also use javascript to redirect the visitor to https:// by doing something like
/*HTTP to HTTPS redirect for a site having 'yoursite.com' as its domain name*/
/*Put this on...
Arsen that line can't be entered into the original DD-script just like that. What you want would require a whole lot of changes in the script.
What you could do is use the code below, which is an...
Be careful though. A break that looks good on your screen may look ugly on a screen that's wider or narrower than yours.
Ask your question please.
No, I have not changed the positioning method due to the width problem only. There were also other problems with my previous script, among which sudden unwanted position changes for certain dropdowns...
I noticed that the revised script (post #22) doesn't work well with Chrome for Android, so I made some final(?) changes. If you use the link given in my previous post, please refresh the page to be...
Hi Arsen,
I've completely revised the script, see this. (Refresh the page if you have been there before).
The script is much more solid now. As far as I can see, there's no width-problem...
As soon as I've got some time, I'll come up though with a solution that handles the width-issue for the dropdowns.
Setting a min-width for the dropdowns is not advisable since it might result in part of the dropdowns being invisible in certain situations.
The original DD-script didn't have this problem because...
The certificate doesn't like http://. So try to replace all instances of http:// with https:// on your page (menu included).
Hi Arsen,
I'm not sure I understand well what your are asking.
If you don't want the links to wrap to two lines, just add
<style>
.the_anchor {white-space: nowrap}
</style>
to the head of...
There should be an empty div with id="fadeshow1" on your page, like this:
<div id="fadeshow1"></div>
Sure, just remove or comment these lines:
var the_width = window.innerWidth;
window.addEventListener('resize', function (){if(window.innerWidth != the_width){location=location}}, false);
Hello again Arsen,
I managed to let javascript make sure that the dropdowns are always entirely visible, whatever the width of the screen, see http://mesdomaines.nu/arsen2.html.
As for your...
Hi Arsen,
I already corrected the error you mention in (3). You must have seen the first version of my page. Please go to http://mesdomaines.nu/arsen.html again. I'll take a look at your other...
Hi Arsen,
There seems to have been a misunderstaniding that must be clarified.
1. My script works by click.
2. My dropdowns bind to any link on the page.
3. The position of my dropdowns can be...
Hello Arsen,
I'm back and found some time to re-examine the script.
The original DD-script dates from 2006, when people did not visit websites on mobile devices yet. So people surfed the web on...
Hello Arsen,
I'm very busy at the moment. I'll come back to you as soon as I can.
Today I was rethinking the script I posted a couple of days ago and it suddenly occurred to me that I had not examined cases where the target of the click event used for closing several opened...
You can probably solve the two problems you mentioned by replacing the code I gave you with the following:
<head>
<script type="text/javascript">
...
In the head:
<script type="text/javascript">
/***********************************************
* Drop Down/ Overlapping Content- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay...
There's more than one way to do it. Please give me the link to your page containing the iframe.
I doubt if the AJAX tabs v2.2 script can be used for what you want. But you can make your own script. Try to eperiment with the following:
<script>
/* Emulation of the responses */
var...
What do you mean exactly by 'add a new tab dynamically'?
I found these lines in ddadmin's script:
swipeStatus: function(event, phase, direction, distance){
if (phase == 'end' && direction == 'left')
thismenu.toggle('closed')
}
Replace that part...