FANDOM

A FANDOM user
  Loading editor
  • hi you play roblox too

      Loading editor
    • A FANDOM user
        Loading editor
  • so um i noticed that i have been spending all my time on python recently so today i decided to embark on html so i was writing some code that makes the word brown the color brown and changes its font size to 100 pixels, this is what i wrote: https://pastebin.com/ArYgY7bQ but instead it returns simply the word brown

      Loading editor
  • Hi Fngplg, it's me again :P, I thought I would message you here rather than on the LinkPreview talk page. Just to let you know, link previews do not appear when hovering over a link in the tabview body. They do appear when hovering over the tabview title though. I've provided an example here.

    After doing a lot of testing of old revisions, I've concluded that revision 72298 was the last time link previews would show in the tabview body. Revision 72299 onwards do not show link previews through tabview properly.

    Just out of interest, is it possible to set an option where the Link previews dont appear when hovering over the tabview title, but will appear when hovering over a link in the tabview body?

    I hope you get a chance to read this at some point. Have a nice day :)

      Loading editor
    • View all 12 replies
    • yeah. it is not a ff problem. it seems like wikia caching issue: some pages just got old version of the script. ?debug=1 helps, but u can't view all pages in the debug mode...

        Loading editor
    • Oh right, I see, thanks for the debug tip! It's not really a big problem though, I can live with it :P.

      It's interesting how the script performs better on Chrome than Firefox though.

        Loading editor
    • A FANDOM user
        Loading editor
  • um i wrote the code but it is not working

      Loading editor
  • Do you want to be in a chat

      Loading editor
    • A FANDOM user
        Loading editor
  • Hello, Fngplg,

    It's me, who was seeking help on building the tooltip.css, in case you don't browse the board these days, I left this message to infom you that I post a reply on the original thread, please take a look at it if you have time, thank you!

      Loading editor
    • A FANDOM user
        Loading editor
  • Hi, it's me again :P, hope I'm not bothering you, but I was wondering if you could help me with 2 things to do with LinkPreview - the max text length and disable hover previews on Tab view.

    I have no experience with JavaScript whatsoever, so I took a look at the ru borderlands common.js and copied this code into my personal common.js page and tried to add tlen: 500, and iparents : ['.tabs [data-tab^=flytabs]'],

    window.pPreview = $.extend(true, window.pPreview, {
        defimage: 'https://vignette.wikia.nocookie.net/borderlands/images/0/05/Ajax.gif/revision/latest?cb=20170626182120&path-prefix=ru',
        noimage: 'https://vignette.wikia.nocookie.net/borderlands/images/f/f5/%D0%97%D0%B0%D0%B3%D0%BB%D1%83%D1%88%D0%BA%D0%B0.png/revision/latest/scale-to-width-down/350?cb=20160122074659&path-prefix=ru',
        tlen: 500,
        RegExp: {
            iimages: [new RegExp('^([Ff]ile:|[Фф]айл:)?Indef\\.png$')],
            ipages: [new RegExp('.*?Дерево[_ ]навыков.*')],
            ilinks: [new RegExp('.*?Дерево[_ ]навыков.*')],
            iparents : ['.tabs [data-tab^=flytabs]'],
        },
    });
    

    I assume I must have got the code completely wrong because I haven't noticed any changes at all. I would be grateful for any help. Thank you.

      Loading editor
    • View all 8 replies
    • some examples added.

        Loading editor
    • Hey, thanks for all the examples you've provided for all the settings! The onlyinclude works great! :)

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Fngplg,

    Not sure if this is the best place to ask this, but you've helped me out a couple of times recently with some questions I've had. Several weeks ago I asked if it was possible to do this on wikia. You provided an example of it being possible with the Triggerimage template on ru borderlands wikia.

    With your permission, would I be allowed to use that template and code on my wikia? I have been messing around with it and while I haven't got it working exactly like how I wanted it, I think it is what I need. If I am allowed to use it, could you provide details on if it's possible to change the positioning of the hover image? Currently the hover image appears beneath the first image, but I need to be able to freely change position.

    Thank you and have a good day.

      Loading editor
    • u may use the template as u want. positions on images has some limitations due of nature of css: images always follows their triggers (trigger1 - image1, trigger2 - image2...), so u can't just move it where u want. u still can use float:right on triggers (.trigger-image-trigger) to get this or clear:both to get this.

      there are some more options in css u can use to set positions. i'd suggest to read css guides.

        Loading editor
    • Hey, thanks for letting me use it! It's a shame that limitations prevent the hover image from being freely moved around, but that's a good idea, to have a look at some CSS guides. I'll try and work with what I have :)

      Thanks!

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi, welcome to Community Central! Thanks for your edit to the User:Fngplg/global.js page.

    If you need help, feel free to leave me a message; you may also want to visit the forums or join us on Chat. You can also check the staff blog to keep up-to-date with the latest news and events around Wikia.

    Happy editing!

      Loading editor
    Fngplg
    Fngplg closed this thread because:
    абвгдеёжзиабвгдеёжзиабвгдеёжзиабвгдеёжзиабвгде 49
    09:19, April 6, 2018
    • This reply has been removed
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message